Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001137/0.001137, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.166/1.166, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.813/0.813, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.5 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1201, allocations: 80.93 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004828/0.1249, allocations: 4.208 MB / 0.5881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3204/0.4453, allocations: 148.3 MB / 0.733 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.446, allocations: 15.56 kB / 0.733 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.4465, allocations: 136.8 kB / 0.7331 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.448, allocations: 432.2 kB / 0.7335 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.4497, allocations: 0.7365 MB / 0.7342 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.4509, allocations: 1.224 MB / 0.7354 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008197/0.4518, allocations: 0.6247 MB / 0.736 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.4524, allocations: 456.9 kB / 0.7365 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.453, allocations: 477 kB / 0.7369 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.4532, allocations: 107.7 kB / 0.737 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.4539, allocations: 472.9 kB / 0.7375 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.4541, allocations: 279.9 kB / 0.7378 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.4545, allocations: 0.5094 MB / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.456, allocations: 1.499 MB / 0.7397 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.456, allocations: 0 / 0.7397 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.456, allocations: 6.438 kB / 0.7397 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.224e-05/0.456, allocations: 0 / 0.7397 GB, free: 10.23 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002263/0.4583, allocations: 1.372 MB / 0.7411 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4583, allocations: 8.5 kB / 0.7411 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.4585, allocations: 132.9 kB / 0.7412 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.4594, allocations: 183.8 kB / 0.7414 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.4602, allocations: 0.7156 MB / 0.7421 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.4603, allocations: 60.19 kB / 0.7421 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.4604, allocations: 80.25 kB / 0.7422 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.4617, allocations: 0.8973 MB / 0.7431 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4617, allocations: 0 / 0.7431 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.4618, allocations: 35.09 kB / 0.7431 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4618, allocations: 23.66 kB / 0.7431 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4633, allocations: 1.106 MB / 0.7442 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.4665, allocations: 2.518 MB / 0.7467 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.4682, allocations: 0.8678 MB / 0.7475 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.4686, allocations: 287.7 kB / 0.7478 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.4687, allocations: 40.56 kB / 0.7478 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007161/0.4694, allocations: 451.1 kB / 0.7483 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.713e-06/0.4694, allocations: 0 / 0.7483 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002657/0.4721, allocations: 1.123 MB / 0.7494 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.4722, allocations: 188.6 kB / 0.7496 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.4728, allocations: 0.5979 MB / 0.7501 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.4728, allocations: 41.7 kB / 0.7502 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.4731, allocations: 384.1 kB / 0.7505 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.4732, allocations: 244.3 kB / 0.7508 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.4734, allocations: 142.2 kB / 0.7509 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4735, allocations: 390.7 kB / 0.7513 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.474, allocations: 228.2 kB / 0.7515 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.4744, allocations: 330.8 kB / 0.7518 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/0.4753, allocations: 0.5589 MB / 0.7524 GB, free: 188 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4754, allocations: 0 / 0.7524 GB, free: 188 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00159/0.4769, allocations: 0.7472 MB / 0.7531 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.477, allocations: 4 kB / 0.7531 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.477, allocations: 0 / 0.7531 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/0.4775, allocations: 88.81 kB / 0.7532 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.4781, allocations: 143.8 kB / 0.7533 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.4799, allocations: 1.634 MB / 0.7549 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.4804, allocations: 83.33 kB / 0.755 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.4805, allocations: 27.98 kB / 0.755 GB, free: 13.3 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: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0002898/0.4808, allocations: 257.6 kB / 0.7553 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4809, allocations: 79.12 kB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.483, allocations: 1.059 MB / 0.7564 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4831, allocations: 8 kB / 0.7564 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4831, allocations: 0 / 0.7564 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4831, allocations: 11.92 kB / 0.7564 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.4858, allocations: 1.938 MB / 0.7583 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4858, allocations: 0 / 0.7583 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.4864, allocations: 159.7 kB / 0.7584 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.4868, allocations: 72.78 kB / 0.7585 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.4868, allocations: 27.92 kB / 0.7585 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.4884, allocations: 1.666 MB / 0.7602 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4885, allocations: 3.938 kB / 0.7602 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.4901, allocations: 0.9571 MB / 0.7611 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.4904, allocations: 263.8 kB / 0.7613 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4905, allocations: 19.66 kB / 0.7614 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.491, allocations: 62.89 kB / 0.7614 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4912, allocations: 72.84 kB / 0.7615 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.4912, allocations: 31.97 kB / 0.7615 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004262/0.4917, allocations: 439 kB / 0.7619 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4917, allocations: 0 / 0.7619 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006785/0.4923, allocations: 299.3 kB / 0.7622 GB, free: 5.672 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 (93): * Single equations (assignments): 90 * 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.002877/0.4952, allocations: 2.01 MB / 0.7642 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.4971, allocations: 0.9656 MB / 0.7651 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4971, allocations: 0 / 0.7651 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.4979, allocations: 0.5121 MB / 0.7656 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4989, allocations: 291.1 kB / 0.7659 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009933/0.5089, allocations: 6.619 MB / 0.7724 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.5093, allocations: 1.012 MB / 0.7734 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006912/0.51, allocations: 270.4 kB / 0.7736 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.5105, allocations: 363.3 kB / 0.774 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5105, allocations: 0 / 0.774 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.149/2.659, allocations: 20.23 MB / 0.7937 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/2.659, allocations: 308.7 kB / 0.794 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/4.864, allocations: 0 / 0.794 GB, free: 5.473 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)