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.007668/0.007668, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001319/0.001319, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7688/0.7688, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 62.22 kB / 0.5851 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 80.92 MB / 0.6641 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006736/0.1595, allocations: 4.92 MB / 0.6689 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5422/0.7017, allocations: 150.8 MB / 0.8162 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.7025, allocations: 21.62 kB / 0.8162 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.7032, allocations: 188 kB / 0.8164 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.705, allocations: 0.5658 MB / 0.817 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.7069, allocations: 0.926 MB / 0.8179 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.7084, allocations: 1.553 MB / 0.8194 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.7096, allocations: 1.157 MB / 0.8205 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008626/0.7105, allocations: 0.6884 MB / 0.8212 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/0.7113, allocations: 0.7347 MB / 0.8219 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.7115, allocations: 191.3 kB / 0.8221 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.7124, allocations: 0.546 MB / 0.8226 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.7127, allocations: 437.9 kB / 0.823 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.7133, allocations: 0.8167 MB / 0.8238 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.7153, allocations: 2.315 MB / 0.8261 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7153, allocations: 2.375 kB / 0.8261 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7153, allocations: 0 / 0.8261 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.7153, allocations: 0 / 0.8261 GB, free: 2.66 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.002653/0.718, allocations: 1.817 MB / 0.8279 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.718, allocations: 11.83 kB / 0.8279 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.7183, allocations: 213.9 kB / 0.8281 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.7192, allocations: 248.4 kB / 0.8283 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.7204, allocations: 0.922 MB / 0.8292 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.7206, allocations: 140.2 kB / 0.8293 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7207, allocations: 140.8 kB / 0.8295 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.7229, allocations: 1.463 MB / 0.8309 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.723, allocations: 2.438 kB / 0.8309 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7231, allocations: 63.5 kB / 0.831 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.7231, allocations: 35.25 kB / 0.831 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.7252, allocations: 1.492 MB / 0.8325 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005456/0.7307, allocations: 3.87 MB / 0.8362 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.7321, allocations: 0.9092 MB / 0.8371 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.7327, allocations: 372.5 kB / 0.8375 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.7328, allocations: 46.61 kB / 0.8375 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.7337, allocations: 0.5416 MB / 0.8381 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.184e-06/0.7337, allocations: 0 / 0.8381 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.00319/0.7369, allocations: 1.368 MB / 0.8394 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.737, allocations: 194.7 kB / 0.8396 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.738, allocations: 0.7656 MB / 0.8403 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.7381, allocations: 42.95 kB / 0.8404 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.7385, allocations: 0.5846 MB / 0.8409 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.7388, allocations: 305.4 kB / 0.8412 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.739, allocations: 185.8 kB / 0.8414 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7392, allocations: 341 kB / 0.8417 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7397, allocations: 302.8 kB / 0.842 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.7404, allocations: 430.6 kB / 0.8424 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.7417, allocations: 0.741 MB / 0.8432 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7417, allocations: 0 / 0.8432 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00216/0.7439, allocations: 0.974 MB / 0.8441 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7439, allocations: 9.688 kB / 0.8441 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7439, allocations: 1.188 kB / 0.8441 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.7445, allocations: 89.89 kB / 0.8442 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.7454, allocations: 189.7 kB / 0.8444 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.7477, allocations: 1.641 MB / 0.846 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.7485, allocations: 95.08 kB / 0.8461 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/0.7486, allocations: 44.03 kB / 0.8461 GB, free: 4.5 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.0006419/0.7492, allocations: 323.5 kB / 0.8464 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.7495, allocations: 98.78 kB / 0.8465 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.7523, allocations: 1.294 MB / 0.8478 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7523, allocations: 11.94 kB / 0.8478 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7524, allocations: 0 / 0.8478 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.7524, allocations: 11.97 kB / 0.8478 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.7565, allocations: 2.497 MB / 0.8503 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7565, allocations: 3.656 kB / 0.8503 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.7573, allocations: 183.7 kB / 0.8504 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.7578, allocations: 72.86 kB / 0.8505 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.7579, allocations: 23.98 kB / 0.8505 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.7598, allocations: 1.682 MB / 0.8522 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7599, allocations: 0 / 0.8522 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.7623, allocations: 1.115 MB / 0.8533 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/0.7629, allocations: 311.5 kB / 0.8535 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.7632, allocations: 27.94 kB / 0.8536 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.764, allocations: 63.94 kB / 0.8536 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.7642, allocations: 72.89 kB / 0.8537 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.021e-05/0.7643, allocations: 39.97 kB / 0.8537 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008414/0.7651, allocations: 0.5615 MB / 0.8543 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7651, allocations: 3.938 kB / 0.8543 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001159/0.7663, allocations: 394.5 kB / 0.8547 GB, free: 11.48 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.003739/0.7701, allocations: 2.168 MB / 0.8568 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.7719, allocations: 0.9332 MB / 0.8577 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.772, allocations: 256 / 0.8577 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.773, allocations: 0.5821 MB / 0.8583 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7744, allocations: 310.4 kB / 0.8586 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.7878, allocations: 7.897 MB / 0.8663 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.7887, allocations: 1.173 MB / 0.8674 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.7897, allocations: 287.9 kB / 0.8677 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/0.7905, allocations: 0.5461 MB / 0.8682 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of SimCode: time 7.52e-07/0.7905, allocations: 0 / 0.8682 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05801/0.8485, allocations: 26.18 MB / 0.8938 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.69, allocations: 11.78 kB / 0.8938 GB, free: 3.684 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)