Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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: 99.31 kB / 15.73 MB, free: 6.047 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.001061/0.001061, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7458/0.7458, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.34 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006259/0.1731, allocations: 4.168 MB / 0.6632 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.3382, allocations: 150.7 MB / 0.8104 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.3391, allocations: 19.88 kB / 0.8104 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.3398, allocations: 162.5 kB / 0.8105 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.3418, allocations: 0.4933 MB / 0.811 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.3439, allocations: 0.7914 MB / 0.8118 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4357/0.7796, allocations: 1.202 MB / 0.813 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.781, allocations: 0.6175 MB / 0.8136 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.7819, allocations: 456.4 kB / 0.814 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.7825, allocations: 461.2 kB / 0.8145 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.7827, allocations: 104.3 kB / 0.8146 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009812/0.7836, allocations: 476.1 kB / 0.815 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.7839, allocations: 274.8 kB / 0.8153 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.7845, allocations: 0.5006 MB / 0.8158 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.7869, allocations: 1.505 MB / 0.8172 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.7869, allocations: 1.516 kB / 0.8172 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7869, allocations: 3.688 kB / 0.8172 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.787, allocations: 0 / 0.8172 GB, free: 3.227 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002606/0.7896, allocations: 1.346 MB / 0.8185 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.7896, allocations: 9.344 kB / 0.8186 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.7898, allocations: 133.4 kB / 0.8187 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7908, allocations: 179.6 kB / 0.8189 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.7921, allocations: 0.7324 MB / 0.8196 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.7921, allocations: 67.66 kB / 0.8196 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.7923, allocations: 77.44 kB / 0.8197 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.7939, allocations: 0.8874 MB / 0.8206 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.7939, allocations: 0 / 0.8206 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.794, allocations: 37.58 kB / 0.8206 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.7941, allocations: 19.94 kB / 0.8206 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.7959, allocations: 1.101 MB / 0.8217 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.8, allocations: 2.458 MB / 0.8241 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.8012, allocations: 0.7356 MB / 0.8248 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.8017, allocations: 286 kB / 0.8251 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.8018, allocations: 34.92 kB / 0.8251 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.8025, allocations: 446.6 kB / 0.8256 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.154e-06/0.8025, allocations: 0 / 0.8256 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002834/0.8053, allocations: 1.118 MB / 0.8266 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.8055, allocations: 193 kB / 0.8268 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.8062, allocations: 0.5945 MB / 0.8274 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.8063, allocations: 42.33 kB / 0.8275 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.8065, allocations: 373.8 kB / 0.8278 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.8066, allocations: 257.2 kB / 0.8281 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.8068, allocations: 142.1 kB / 0.8282 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.807, allocations: 382.6 kB / 0.8286 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.8074, allocations: 230.8 kB / 0.8288 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.8079, allocations: 337.4 kB / 0.8291 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.8088, allocations: 0.5588 MB / 0.8296 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8089, allocations: 6.031 kB / 0.8296 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001699/0.8106, allocations: 0.7565 MB / 0.8304 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8106, allocations: 7.531 kB / 0.8304 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8106, allocations: 1.375 kB / 0.8304 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.8112, allocations: 82.62 kB / 0.8305 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.8118, allocations: 147.2 kB / 0.8306 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8138, allocations: 1.638 MB / 0.8322 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.8145, allocations: 78.97 kB / 0.8323 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.8146, allocations: 24.84 kB / 0.8323 GB, free: 14.18 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 (81): * Single equations (assignments): 80 * 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.0004219/0.815, allocations: 258.3 kB / 0.8326 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8152, allocations: 83.95 kB / 0.8326 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.8174, allocations: 1.024 MB / 0.8336 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8174, allocations: 7.344 kB / 0.8336 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8174, allocations: 0.9375 kB / 0.8336 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.8174, allocations: 2.953 kB / 0.8336 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.8202, allocations: 1.895 MB / 0.8355 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.8203, allocations: 4.781 kB / 0.8355 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.8208, allocations: 148.2 kB / 0.8356 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.8212, allocations: 73.33 kB / 0.8357 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.8213, allocations: 26.45 kB / 0.8357 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.8232, allocations: 1.648 MB / 0.8374 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8232, allocations: 2.938 kB / 0.8374 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.825, allocations: 0.9299 MB / 0.8383 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.8254, allocations: 261.8 kB / 0.8385 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.8256, allocations: 19.97 kB / 0.8385 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.8263, allocations: 63.84 kB / 0.8386 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.8264, allocations: 60.98 kB / 0.8386 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.8265, allocations: 33.53 kB / 0.8387 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000708/0.8272, allocations: 444.3 kB / 0.8391 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8272, allocations: 0 / 0.8391 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001214/0.8285, allocations: 288.5 kB / 0.8394 GB, free: 11.65 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 (87): * Single equations (assignments): 84 * 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.004121/0.8326, allocations: 1.975 MB / 0.8413 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.8343, allocations: 0.7498 MB / 0.842 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8343, allocations: 0.9688 kB / 0.842 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008406/0.8351, allocations: 0.5023 MB / 0.8425 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8365, allocations: 290.2 kB / 0.8428 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.847, allocations: 6.053 MB / 0.8487 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.8476, allocations: 1.006 MB / 0.8497 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008538/0.8485, allocations: 258 kB / 0.8499 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.849, allocations: 362.5 kB / 0.8503 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.849, allocations: 1 kB / 0.8503 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.9, allocations: 20.78 MB / 0.8706 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.82, allocations: 15.73 kB / 0.8706 GB, free: 3.297 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)