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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.001142/0.001143, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001388/0.001388, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.144/1.144, allocations: 222.9 MB / 239.9 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7868/0.7868, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.34 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 80.92 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004578/0.1206, allocations: 4.08 MB / 0.588 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3093/0.4299, allocations: 148.2 MB / 0.7327 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.4305, allocations: 19.03 kB / 0.7327 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.4311, allocations: 136.8 kB / 0.7329 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.4324, allocations: 410.1 kB / 0.7333 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.434, allocations: 0.7107 MB / 0.734 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.4352, allocations: 1.164 MB / 0.7351 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.436, allocations: 0.6139 MB / 0.7357 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.4366, allocations: 421.7 kB / 0.7361 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.4371, allocations: 454.6 kB / 0.7365 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.4373, allocations: 103.3 kB / 0.7366 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.438, allocations: 446.8 kB / 0.737 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.4382, allocations: 268 kB / 0.7373 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.4386, allocations: 0.4973 MB / 0.7378 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.44, allocations: 1.456 MB / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.44, allocations: 0 / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.44, allocations: 0 / 0.7392 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.4401, allocations: 0 / 0.7392 GB, free: 10.59 MB / 0.5606 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.002166/0.4422, allocations: 1.313 MB / 0.7405 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4423, allocations: 18.41 kB / 0.7405 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.4424, allocations: 132.6 kB / 0.7406 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.4432, allocations: 172.7 kB / 0.7408 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.4441, allocations: 0.7047 MB / 0.7415 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.4441, allocations: 61.62 kB / 0.7415 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.4442, allocations: 77.44 kB / 0.7416 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4455, allocations: 0.8596 MB / 0.7425 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4455, allocations: 0 / 0.7425 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.4456, allocations: 33.34 kB / 0.7425 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4456, allocations: 18.19 kB / 0.7425 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.447, allocations: 1.06 MB / 0.7435 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.4502, allocations: 2.386 MB / 0.7459 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4513, allocations: 0.7814 MB / 0.7466 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.4518, allocations: 287.8 kB / 0.7469 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.4518, allocations: 25.72 kB / 0.7469 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006943/0.4525, allocations: 420.8 kB / 0.7473 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.724e-06/0.4525, allocations: 0 / 0.7473 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002568/0.4551, allocations: 1.067 MB / 0.7484 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.4552, allocations: 188.5 kB / 0.7486 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.4558, allocations: 0.5862 MB / 0.7491 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.4559, allocations: 37.7 kB / 0.7492 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.4562, allocations: 380.2 kB / 0.7495 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4563, allocations: 232.6 kB / 0.7498 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4565, allocations: 130.2 kB / 0.7499 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4567, allocations: 382.7 kB / 0.7502 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.4571, allocations: 217 kB / 0.7505 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.4575, allocations: 322.7 kB / 0.7508 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.4584, allocations: 0.5196 MB / 0.7513 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4584, allocations: 0 / 0.7513 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001508/0.4599, allocations: 0.7119 MB / 0.752 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4599, allocations: 4 kB / 0.752 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4599, allocations: 6.062 kB / 0.752 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.4605, allocations: 84.86 kB / 0.7521 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.461, allocations: 127.8 kB / 0.7522 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.4629, allocations: 1.651 MB / 0.7538 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.4634, allocations: 67.56 kB / 0.7538 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.4635, allocations: 23.98 kB / 0.7539 GB, free: 14.49 MB / 0.5762 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.0002844/0.4638, allocations: 252 kB / 0.7541 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4639, allocations: 79 kB / 0.7542 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.4659, allocations: 0.9703 MB / 0.7551 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4659, allocations: 8 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4659, allocations: 0 / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.4659, allocations: 3.984 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.4686, allocations: 1.84 MB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4686, allocations: 0 / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.4691, allocations: 139.8 kB / 0.7571 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.4695, allocations: 80.72 kB / 0.7572 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.4696, allocations: 19.98 kB / 0.7572 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.4713, allocations: 1.663 MB / 0.7588 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4713, allocations: 4.031 kB / 0.7588 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.4729, allocations: 0.8984 MB / 0.7597 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.4732, allocations: 252.1 kB / 0.7599 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4733, allocations: 23.84 kB / 0.7599 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.4738, allocations: 64.92 kB / 0.76 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.4739, allocations: 52.92 kB / 0.7601 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.474, allocations: 31.98 kB / 0.7601 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004287/0.4744, allocations: 431 kB / 0.7605 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.4744, allocations: 0 / 0.7605 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006442/0.4751, allocations: 278.5 kB / 0.7608 GB, free: 7.188 MB / 0.5762 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.002923/0.478, allocations: 1.936 MB / 0.7627 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.4798, allocations: 0.8913 MB / 0.7635 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4798, allocations: 4.188 kB / 0.7635 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.4805, allocations: 480.3 kB / 0.764 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4816, allocations: 292.5 kB / 0.7643 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.4917, allocations: 6.335 MB / 0.7704 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4922, allocations: 0.9935 MB / 0.7714 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000722/0.4929, allocations: 250 kB / 0.7717 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.4934, allocations: 351.2 kB / 0.772 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.4934, allocations: 0 / 0.772 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.5299, allocations: 19.29 MB / 0.7908 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.5302, allocations: 302.2 kB / 0.7911 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.588, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)