Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.006987/0.006987, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001512/0.001512, allocations: 196 kB / 16.68 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7318/0.7318, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 66.19 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1749, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006152/0.1811, allocations: 4.064 MB / 0.6631 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.3374, allocations: 150.5 MB / 0.8101 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.3383, allocations: 15.94 kB / 0.8101 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.3389, allocations: 162.5 kB / 0.8102 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.3403, allocations: 478.7 kB / 0.8107 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3421, allocations: 0.7944 MB / 0.8115 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.3431, allocations: 1.176 MB / 0.8126 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4213/0.7644, allocations: 0.6 MB / 0.8132 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008778/0.7653, allocations: 430 kB / 0.8136 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.7659, allocations: 445.1 kB / 0.814 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.7661, allocations: 104 kB / 0.8141 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.7671, allocations: 476.2 kB / 0.8146 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.7674, allocations: 272.8 kB / 0.8149 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.7679, allocations: 0.4918 MB / 0.8153 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.77, allocations: 1.493 MB / 0.8168 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.7701, allocations: 0 / 0.8168 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7701, allocations: 0 / 0.8168 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.7701, allocations: 0 / 0.8168 GB, free: 3.375 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002373/0.7725, allocations: 1.313 MB / 0.8181 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7725, allocations: 9.844 kB / 0.8181 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.7727, allocations: 130.3 kB / 0.8182 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000919/0.7736, allocations: 175.4 kB / 0.8184 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.7751, allocations: 0.7275 MB / 0.8191 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.7752, allocations: 59.31 kB / 0.8192 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7753, allocations: 76.34 kB / 0.8192 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.7773, allocations: 0.8608 MB / 0.8201 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.7774, allocations: 0.9375 kB / 0.8201 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.7775, allocations: 33.91 kB / 0.8201 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.7775, allocations: 20.55 kB / 0.8201 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.7795, allocations: 1.058 MB / 0.8212 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.7836, allocations: 2.351 MB / 0.8234 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.7849, allocations: 0.7912 MB / 0.8242 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.7854, allocations: 278.1 kB / 0.8245 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.7855, allocations: 30.48 kB / 0.8245 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000758/0.7863, allocations: 418.1 kB / 0.8249 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/0.7863, allocations: 0.9062 kB / 0.8249 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002949/0.7893, allocations: 1.072 MB / 0.826 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.7894, allocations: 191.4 kB / 0.8261 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.7901, allocations: 0.5818 MB / 0.8267 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.7902, allocations: 38.95 kB / 0.8267 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.7905, allocations: 374.1 kB / 0.8271 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.7907, allocations: 229.8 kB / 0.8273 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.7909, allocations: 131.2 kB / 0.8274 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.7911, allocations: 377.6 kB / 0.8278 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.7915, allocations: 213.3 kB / 0.828 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.792, allocations: 321.6 kB / 0.8283 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/0.7929, allocations: 0.5257 MB / 0.8288 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7929, allocations: 0 / 0.8288 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001612/0.7946, allocations: 0.7129 MB / 0.8295 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7946, allocations: 7.375 kB / 0.8295 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7946, allocations: 0.875 kB / 0.8295 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/0.7952, allocations: 84.2 kB / 0.8296 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.7957, allocations: 139.1 kB / 0.8297 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.7979, allocations: 1.647 MB / 0.8314 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.7985, allocations: 74.22 kB / 0.8314 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.7986, allocations: 26.66 kB / 0.8315 GB, free: 14.31 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 (73): * Single equations (assignments): 72 * 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.0005214/0.7991, allocations: 247 kB / 0.8317 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.7993, allocations: 76.5 kB / 0.8318 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.8014, allocations: 0.9581 MB / 0.8327 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.8014, allocations: 8.625 kB / 0.8327 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.8014, allocations: 0 / 0.8327 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.8014, allocations: 7.734 kB / 0.8327 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.8044, allocations: 1.847 MB / 0.8345 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8044, allocations: 0 / 0.8345 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.805, allocations: 137.5 kB / 0.8346 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.8054, allocations: 76.83 kB / 0.8347 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.8054, allocations: 24.45 kB / 0.8347 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.8074, allocations: 1.667 MB / 0.8364 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8074, allocations: 0 / 0.8364 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.8091, allocations: 0.892 MB / 0.8372 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.8094, allocations: 257.4 kB / 0.8375 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.8095, allocations: 19.28 kB / 0.8375 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.81, allocations: 54.75 kB / 0.8376 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.8102, allocations: 60.69 kB / 0.8376 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.8102, allocations: 25.91 kB / 0.8376 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006148/0.8109, allocations: 429.7 kB / 0.8381 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8109, allocations: 0 / 0.8381 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009547/0.8118, allocations: 280.7 kB / 0.8383 GB, free: 11.8 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 (81): * Single equations (assignments): 78 * 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.003151/0.815, allocations: 1.949 MB / 0.8402 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.8164, allocations: 0.7167 MB / 0.8409 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8164, allocations: 0 / 0.8409 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.8171, allocations: 488.6 kB / 0.8414 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8182, allocations: 281.7 kB / 0.8417 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009479/0.8277, allocations: 5.818 MB / 0.8473 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.8285, allocations: 0.9913 MB / 0.8483 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008969/0.8294, allocations: 250.7 kB / 0.8485 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/0.8299, allocations: 347.9 kB / 0.8489 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.8299, allocations: 0.9688 kB / 0.8489 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.8759, allocations: 19.66 MB / 0.8681 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.53, allocations: 24.19 kB / 0.8681 GB, free: 4.352 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)