Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.004494/0.004494, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001225/0.001225, allocations: 198.9 kB / 16.68 MB, free: 5.969 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: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 67.31 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.0063/0.1416, allocations: 4.912 MB / 0.664 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.3008, allocations: 150.9 MB / 0.8113 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.3014, allocations: 19.88 kB / 0.8114 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.302, allocations: 198.1 kB / 0.8116 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.3035, allocations: 0.5777 MB / 0.8121 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3339/0.6374, allocations: 0.8853 MB / 0.813 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.6398, allocations: 1.583 MB / 0.8145 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.6412, allocations: 1.061 MB / 0.8156 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.6422, allocations: 0.6833 MB / 0.8162 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007564/0.6429, allocations: 0.7379 MB / 0.817 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.6432, allocations: 175.2 kB / 0.8171 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.6444, allocations: 0.5306 MB / 0.8176 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.6447, allocations: 419 kB / 0.818 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.6455, allocations: 0.7776 MB / 0.8188 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.6479, allocations: 2.198 MB / 0.8209 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.648, allocations: 1.031 kB / 0.8209 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.253e-06/0.648, allocations: 2.094 kB / 0.8209 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.648, allocations: 0.7969 kB / 0.8209 GB, free: 3.008 MB / 0.6387 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.00269/0.6507, allocations: 1.829 MB / 0.8227 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6507, allocations: 11.75 kB / 0.8227 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.6509, allocations: 211 kB / 0.8229 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.6519, allocations: 245.6 kB / 0.8232 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6531, allocations: 0.9012 MB / 0.8241 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.6531, allocations: 110 kB / 0.8242 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.6533, allocations: 138.6 kB / 0.8243 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.6554, allocations: 1.432 MB / 0.8257 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.6554, allocations: 4.922 kB / 0.8257 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6556, allocations: 58.91 kB / 0.8258 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.6556, allocations: 35.5 kB / 0.8258 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.6578, allocations: 1.516 MB / 0.8273 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/0.6628, allocations: 3.737 MB / 0.8309 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6643, allocations: 0.9618 MB / 0.8319 GB, free: 444 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.6649, allocations: 399.9 kB / 0.8322 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.665, allocations: 48.94 kB / 0.8323 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008981/0.6659, allocations: 0.5786 MB / 0.8329 GB, free: 344 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.547e-06/0.6659, allocations: 1.25 kB / 0.8329 GB, free: 344 kB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003295/0.6692, allocations: 1.479 MB / 0.8343 GB, free: 120 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6694, allocations: 202.2 kB / 0.8345 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.6702, allocations: 0.7592 MB / 0.8352 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.6703, allocations: 50.62 kB / 0.8353 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.6707, allocations: 0.567 MB / 0.8358 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.671, allocations: 361.6 kB / 0.8362 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.6713, allocations: 204.5 kB / 0.8364 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6715, allocations: 344.4 kB / 0.8367 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.672, allocations: 339.4 kB / 0.837 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.6727, allocations: 462.1 kB / 0.8375 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.674, allocations: 0.8161 MB / 0.8383 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.674, allocations: 0 / 0.8383 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002131/0.6761, allocations: 1.068 MB / 0.8393 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6762, allocations: 4.906 kB / 0.8393 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6762, allocations: 2.688 kB / 0.8393 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.6768, allocations: 81.75 kB / 0.8394 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.6776, allocations: 218.8 kB / 0.8396 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.6796, allocations: 1.642 MB / 0.8412 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.6804, allocations: 112.4 kB / 0.8413 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.6805, allocations: 42.98 kB / 0.8414 GB, free: 13.2 MB / 0.6544 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.0004893/0.681, allocations: 310.9 kB / 0.8417 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.6812, allocations: 108.6 kB / 0.8418 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.6839, allocations: 1.383 MB / 0.8431 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.6839, allocations: 13.88 kB / 0.8431 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6839, allocations: 3.938 kB / 0.8431 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.6839, allocations: 6.203 kB / 0.8431 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.6875, allocations: 2.567 MB / 0.8456 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6875, allocations: 0.9688 kB / 0.8456 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.6882, allocations: 190.8 kB / 0.8458 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.6886, allocations: 71.69 kB / 0.8459 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.6887, allocations: 28.5 kB / 0.8459 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.6906, allocations: 1.679 MB / 0.8476 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.6906, allocations: 2.594 kB / 0.8476 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.6926, allocations: 1.181 MB / 0.8487 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.693, allocations: 321.1 kB / 0.849 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6932, allocations: 31.42 kB / 0.849 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.6938, allocations: 61.05 kB / 0.8491 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.694, allocations: 74.09 kB / 0.8492 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.694, allocations: 44.08 kB / 0.8492 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006157/0.6946, allocations: 0.5728 MB / 0.8498 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6947, allocations: 0 / 0.8498 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009549/0.6956, allocations: 406.7 kB / 0.8502 GB, free: 10.52 MB / 0.6544 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.003905/0.6995, allocations: 2.232 MB / 0.8523 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.7012, allocations: 1.003 MB / 0.8533 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7012, allocations: 0 / 0.8533 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.7021, allocations: 0.6111 MB / 0.8539 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7033, allocations: 314 kB / 0.8542 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.7154, allocations: 8.153 MB / 0.8622 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.7162, allocations: 1.164 MB / 0.8633 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.7171, allocations: 295.7 kB / 0.8636 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/0.7177, allocations: 0.5517 MB / 0.8641 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7177, allocations: 0.9688 kB / 0.8641 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/0.9848, allocations: 26.22 MB / 0.8897 GB, free: 8.016 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.15, allocations: 11.92 kB / 0.8898 GB, free: 8.004 MB / 0.67 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)