Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008901/0.008901, allocations: 99.61 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 196.7 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.39 kB / 0.5851 GB, free: 22.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1374, allocations: 80.92 MB / 0.6641 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006699/0.1441, allocations: 4.915 MB / 0.6689 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5447/0.6889, allocations: 150.8 MB / 0.8162 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.6899, allocations: 18.34 kB / 0.8162 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.6908, allocations: 188.3 kB / 0.8164 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.693, allocations: 0.5832 MB / 0.817 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.696, allocations: 0.9193 MB / 0.8179 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002523/0.6986, allocations: 1.562 MB / 0.8194 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.7006, allocations: 1.154 MB / 0.8205 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.7023, allocations: 0.6887 MB / 0.8212 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.7037, allocations: 0.737 MB / 0.8219 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.7043, allocations: 189.8 kB / 0.8221 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.7059, allocations: 0.5446 MB / 0.8226 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006164/0.7065, allocations: 442.1 kB / 0.823 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.7079, allocations: 0.8089 MB / 0.8238 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.7112, allocations: 2.319 MB / 0.8261 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.7112, allocations: 0 / 0.8261 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7112, allocations: 0 / 0.8261 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.151e-05/0.7113, allocations: 7.312 kB / 0.8261 GB, free: 2.707 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003577/0.7149, allocations: 1.812 MB / 0.8279 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.715, allocations: 10.98 kB / 0.8279 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.7152, allocations: 217.7 kB / 0.8281 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.7163, allocations: 250 kB / 0.8283 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.7178, allocations: 0.9253 MB / 0.8292 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.7179, allocations: 133.7 kB / 0.8294 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.7181, allocations: 143.9 kB / 0.8295 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.7204, allocations: 1.471 MB / 0.8309 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.7204, allocations: 0 / 0.8309 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7206, allocations: 62.75 kB / 0.831 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.7206, allocations: 35.06 kB / 0.831 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.7228, allocations: 1.493 MB / 0.8325 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.7284, allocations: 3.87 MB / 0.8363 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.7298, allocations: 0.907 MB / 0.8372 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.7305, allocations: 373.9 kB / 0.8375 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.7306, allocations: 43.27 kB / 0.8376 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.7317, allocations: 0.5394 MB / 0.8381 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.7317, allocations: 0 / 0.8381 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.003241/0.7349, allocations: 1.373 MB / 0.8394 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7351, allocations: 194.8 kB / 0.8396 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.736, allocations: 0.7606 MB / 0.8404 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.7361, allocations: 43.45 kB / 0.8404 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.7365, allocations: 0.5806 MB / 0.841 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.7367, allocations: 308.5 kB / 0.8413 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.737, allocations: 180 kB / 0.8414 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7372, allocations: 348 kB / 0.8418 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.7377, allocations: 302.2 kB / 0.842 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.7384, allocations: 434.6 kB / 0.8425 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7396, allocations: 0.7406 MB / 0.8432 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7396, allocations: 0 / 0.8432 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00206/0.7417, allocations: 0.9762 MB / 0.8441 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7417, allocations: 5.656 kB / 0.8441 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7417, allocations: 0 / 0.8441 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.7423, allocations: 90.14 kB / 0.8442 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.7431, allocations: 185.2 kB / 0.8444 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7451, allocations: 1.643 MB / 0.846 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.7459, allocations: 95.95 kB / 0.8461 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.746, allocations: 44.03 kB / 0.8461 GB, free: 4.605 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.7465, allocations: 323.8 kB / 0.8465 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.7467, allocations: 98.78 kB / 0.8465 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.7495, allocations: 1.284 MB / 0.8478 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.7495, allocations: 15.94 kB / 0.8478 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7495, allocations: 3.984 kB / 0.8478 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7496, allocations: 7.922 kB / 0.8478 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.7536, allocations: 2.501 MB / 0.8503 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7536, allocations: 0 / 0.8503 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.7543, allocations: 175.7 kB / 0.8504 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.7547, allocations: 80.77 kB / 0.8505 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.7548, allocations: 27.98 kB / 0.8505 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.7568, allocations: 1.678 MB / 0.8522 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7569, allocations: 0 / 0.8522 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.7593, allocations: 1.111 MB / 0.8533 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006652/0.76, allocations: 315.5 kB / 0.8536 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.7603, allocations: 27.92 kB / 0.8536 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7611, allocations: 61.5 kB / 0.8536 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.7613, allocations: 72.28 kB / 0.8537 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.7614, allocations: 43.97 kB / 0.8538 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000942/0.7624, allocations: 0.5576 MB / 0.8543 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7624, allocations: 0 / 0.8543 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001277/0.7637, allocations: 398.5 kB / 0.8547 GB, free: 11.6 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003954/0.7676, allocations: 2.16 MB / 0.8568 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.7696, allocations: 0.9373 MB / 0.8577 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7696, allocations: 4.062 kB / 0.8577 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7706, allocations: 0.5821 MB / 0.8583 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.7721, allocations: 309.7 kB / 0.8586 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.7862, allocations: 7.897 MB / 0.8663 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.787, allocations: 1.165 MB / 0.8674 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009359/0.7879, allocations: 291.8 kB / 0.8677 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.7887, allocations: 0.5539 MB / 0.8682 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.7887, allocations: 4 kB / 0.8682 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/0.8488, allocations: 25.7 MB / 0.8933 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.95, allocations: 22.69 kB / 0.8934 GB, free: 4.254 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)