Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.004781/0.004781, allocations: 102 kB / 15.73 MB, free: 6.062 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.001326/0.001326, allocations: 192 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8271/0.8271, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 71.12 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.144, allocations: 81.01 MB / 0.6648 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00651/0.1505, allocations: 4.916 MB / 0.6696 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4688/0.6193, allocations: 150.9 MB / 0.817 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.62, allocations: 19.06 kB / 0.817 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.6206, allocations: 196.2 kB / 0.8172 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.6221, allocations: 0.576 MB / 0.8178 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.6238, allocations: 0.8946 MB / 0.8186 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.625, allocations: 1.583 MB / 0.8202 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6261, allocations: 1.066 MB / 0.8212 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.6267, allocations: 0.6792 MB / 0.8219 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.6274, allocations: 0.7379 MB / 0.8226 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.6276, allocations: 176 kB / 0.8228 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008387/0.6285, allocations: 0.5299 MB / 0.8233 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.6288, allocations: 419.9 kB / 0.8237 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.6295, allocations: 0.7827 MB / 0.8245 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.6316, allocations: 2.191 MB / 0.8266 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6316, allocations: 0 / 0.8266 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6316, allocations: 0 / 0.8266 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.6316, allocations: 2.062 kB / 0.8266 GB, free: 1.867 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002868/0.6345, allocations: 1.833 MB / 0.8284 GB, free: 448 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6346, allocations: 14.09 kB / 0.8284 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002325/0.6348, allocations: 211.1 kB / 0.8286 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.6358, allocations: 244.3 kB / 0.8288 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.6371, allocations: 0.9056 MB / 0.8297 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.871e-05/0.6372, allocations: 108.4 kB / 0.8298 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.6374, allocations: 138.2 kB / 0.83 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.6396, allocations: 1.424 MB / 0.8314 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.6396, allocations: 4 kB / 0.8314 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.6397, allocations: 58.75 kB / 0.8314 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.6398, allocations: 35.28 kB / 0.8315 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.642, allocations: 1.515 MB / 0.8329 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.6475, allocations: 3.745 MB / 0.8366 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.6491, allocations: 0.9652 MB / 0.8375 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.6497, allocations: 399.1 kB / 0.8379 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.6498, allocations: 48.94 kB / 0.838 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009458/0.6508, allocations: 0.5768 MB / 0.8385 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 2.455e-06/0.6508, allocations: 0 / 0.8385 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.003539/0.6543, allocations: 1.48 MB / 0.84 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.6545, allocations: 198.6 kB / 0.8402 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.6553, allocations: 0.76 MB / 0.8409 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.6554, allocations: 45.98 kB / 0.8409 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.6559, allocations: 0.5608 MB / 0.8415 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.6562, allocations: 367.9 kB / 0.8418 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.6565, allocations: 200.9 kB / 0.842 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6566, allocations: 345.5 kB / 0.8424 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.6572, allocations: 339.6 kB / 0.8427 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.658, allocations: 467.7 kB / 0.8431 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.6594, allocations: 0.8107 MB / 0.8439 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6594, allocations: 0 / 0.8439 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002208/0.6616, allocations: 1.064 MB / 0.845 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6616, allocations: 4 kB / 0.845 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6616, allocations: 4.094 kB / 0.845 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.6622, allocations: 92.64 kB / 0.8451 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.6631, allocations: 211.7 kB / 0.8453 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.6653, allocations: 1.647 MB / 0.8469 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.6661, allocations: 108.9 kB / 0.847 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.6662, allocations: 48.83 kB / 0.847 GB, free: 3.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (117): * Single equations (assignments): 116 * 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.0004823/0.6666, allocations: 309.6 kB / 0.8473 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.6668, allocations: 107.3 kB / 0.8474 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.67, allocations: 1.384 MB / 0.8488 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.67, allocations: 15.94 kB / 0.8488 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.67, allocations: 0 / 0.8488 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.67, allocations: 7.969 kB / 0.8488 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/0.6741, allocations: 2.564 MB / 0.8513 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6742, allocations: 0 / 0.8513 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.6749, allocations: 191.7 kB / 0.8515 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.6754, allocations: 76.77 kB / 0.8516 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.6755, allocations: 23.98 kB / 0.8516 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.6775, allocations: 1.682 MB / 0.8532 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6775, allocations: 4.031 kB / 0.8532 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.6798, allocations: 1.174 MB / 0.8544 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.6802, allocations: 328 kB / 0.8547 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6804, allocations: 31.89 kB / 0.8547 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.6811, allocations: 67.94 kB / 0.8548 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.6812, allocations: 72.89 kB / 0.8548 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.6813, allocations: 39.98 kB / 0.8549 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007589/0.6821, allocations: 0.577 MB / 0.8554 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6821, allocations: 4 kB / 0.8555 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000986/0.6831, allocations: 402.8 kB / 0.8558 GB, free: 9.957 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 (115): * Single equations (assignments): 112 * 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.00431/0.6874, allocations: 2.232 MB / 0.858 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.6895, allocations: 1.003 MB / 0.859 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6895, allocations: 0 / 0.859 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6905, allocations: 0.6135 MB / 0.8596 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6918, allocations: 307.4 kB / 0.8599 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7056, allocations: 8.154 MB / 0.8679 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.7064, allocations: 1.169 MB / 0.869 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009087/0.7074, allocations: 304.2 kB / 0.8693 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/0.7082, allocations: 0.55 MB / 0.8698 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.7082, allocations: 0 / 0.8698 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5181/1.226, allocations: 26.23 MB / 0.8954 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.13, allocations: 0 / 0.8954 GB, free: 1.645 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)