Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005695/0.005695, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001338/0.001338, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 58.25 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2113, allocations: 80.92 MB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006042/0.2174, allocations: 4.076 MB / 0.6686 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7373/0.9547, allocations: 150.5 MB / 0.8155 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009246/0.9557, allocations: 14.47 kB / 0.8155 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.9564, allocations: 168.8 kB / 0.8157 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.9581, allocations: 476.4 kB / 0.8162 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.96, allocations: 0.7984 MB / 0.8169 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.9613, allocations: 1.178 MB / 0.8181 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.9622, allocations: 0.6093 MB / 0.8187 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.9627, allocations: 428.2 kB / 0.8191 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.9632, allocations: 449.3 kB / 0.8195 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.9633, allocations: 104.8 kB / 0.8196 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.9642, allocations: 480 kB / 0.8201 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.9645, allocations: 266 kB / 0.8203 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.965, allocations: 0.4898 MB / 0.8208 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.9666, allocations: 1.485 MB / 0.8223 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9666, allocations: 0 / 0.8223 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9666, allocations: 0 / 0.8223 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9666, allocations: 4.25 kB / 0.8223 GB, free: 5.633 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002184/0.9688, allocations: 1.31 MB / 0.8235 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9689, allocations: 11.17 kB / 0.8235 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.9698, allocations: 177.7 kB / 0.8237 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.9709, allocations: 0.7299 MB / 0.8244 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.9709, allocations: 56.34 kB / 0.8245 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/0.971, allocations: 76.12 kB / 0.8246 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.9724, allocations: 0.8595 MB / 0.8254 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.9725, allocations: 3 kB / 0.8254 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.9725, allocations: 34.91 kB / 0.8254 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.9726, allocations: 20.75 kB / 0.8254 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.9741, allocations: 1.058 MB / 0.8265 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.9776, allocations: 2.343 MB / 0.8288 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.9789, allocations: 0.7977 MB / 0.8295 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.9794, allocations: 276.3 kB / 0.8298 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.9795, allocations: 29.16 kB / 0.8298 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.9802, allocations: 425 kB / 0.8302 GB, free: 52 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.9802, allocations: 4 kB / 0.8303 GB, free: 48 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002869/0.9831, allocations: 1.058 MB / 0.8313 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.9832, allocations: 199.2 kB / 0.8315 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.984, allocations: 0.5861 MB / 0.832 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/0.984, allocations: 36.2 kB / 0.8321 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.9844, allocations: 369.5 kB / 0.8324 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.9845, allocations: 234.4 kB / 0.8327 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.9847, allocations: 143.5 kB / 0.8328 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.9849, allocations: 373.5 kB / 0.8331 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.9854, allocations: 240.3 kB / 0.8334 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.9859, allocations: 324.1 kB / 0.8337 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/0.9869, allocations: 0.549 MB / 0.8342 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.9869, allocations: 2.688 kB / 0.8342 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001737/0.9886, allocations: 0.7579 MB / 0.835 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.9887, allocations: 7.375 kB / 0.835 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.9887, allocations: 2.312 kB / 0.835 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.9893, allocations: 79.38 kB / 0.8351 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.9898, allocations: 148.2 kB / 0.8352 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.9919, allocations: 1.642 MB / 0.8368 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.9926, allocations: 72.36 kB / 0.8369 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.9927, allocations: 32.41 kB / 0.8369 GB, free: 11.12 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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.0004453/0.9931, allocations: 260.6 kB / 0.8371 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.9933, allocations: 74.31 kB / 0.8372 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.9953, allocations: 0.9594 MB / 0.8382 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.9954, allocations: 7.562 kB / 0.8382 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.9954, allocations: 0 / 0.8382 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9954, allocations: 7.984 kB / 0.8382 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.9984, allocations: 1.83 MB / 0.84 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9984, allocations: 3.656 kB / 0.84 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.9989, allocations: 141 kB / 0.8401 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.9993, allocations: 82.62 kB / 0.8402 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.522e-05/0.9994, allocations: 19.45 kB / 0.8402 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.001, allocations: 1.666 MB / 0.8418 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.001, allocations: 3.938 kB / 0.8418 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/1.003, allocations: 0.8984 MB / 0.8427 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/1.004, allocations: 250.9 kB / 0.8429 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.004, allocations: 20.53 kB / 0.843 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/1.004, allocations: 57.56 kB / 0.843 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.005, allocations: 52.2 kB / 0.8431 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/1.005, allocations: 32.2 kB / 0.8431 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006037/1.005, allocations: 423.4 kB / 0.8435 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.005, allocations: 3.938 kB / 0.8435 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001064/1.006, allocations: 286 kB / 0.8438 GB, free: 6.207 MB / 0.6075 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.001837/1.008, allocations: 0.5951 MB / 0.8444 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.01, allocations: 0.7419 MB / 0.8451 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.01, allocations: 0 / 0.8451 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000921/1.011, allocations: 490 kB / 0.8455 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.012, allocations: 285.3 kB / 0.8458 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.016, allocations: 1.624 MB / 0.8474 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/1.017, allocations: 0.9875 MB / 0.8484 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007849/1.018, allocations: 250 kB / 0.8486 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.018, allocations: 99.39 kB / 0.8487 GB, free: 2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/1.018, allocations: 0 / 0.8487 GB, free: 2 MB / 0.6075 GB Notification: Performance of Templates: time 0.02423/1.042, allocations: 13.79 MB / 0.8622 GB, free: 4.332 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)