Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.005499/0.005499, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001558/0.001558, allocations: 200.9 kB / 16.68 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.436/1.436, allocations: 222.9 MB / 240.4 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.9914/0.9914, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 0.5857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3734, allocations: 81.03 MB / 0.6649 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00457/0.378, allocations: 4.108 MB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.5469, allocations: 150.5 MB / 0.8158 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.5477, allocations: 23.81 kB / 0.8158 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.5482, allocations: 166.5 kB / 0.816 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.5498, allocations: 476.8 kB / 0.8165 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.5517, allocations: 0.7855 MB / 0.8172 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.553, allocations: 1.192 MB / 0.8184 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.5538, allocations: 0.6174 MB / 0.819 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.5544, allocations: 434.5 kB / 0.8194 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.5549, allocations: 446 kB / 0.8198 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.555, allocations: 104 kB / 0.8199 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.5559, allocations: 475.5 kB / 0.8204 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.5562, allocations: 271.1 kB / 0.8206 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.5567, allocations: 0.4935 MB / 0.8211 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.5585, allocations: 1.484 MB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5585, allocations: 3.938 kB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5585, allocations: 4 kB / 0.8226 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5585, allocations: 0 / 0.8226 GB, free: 14.82 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002166/0.5607, allocations: 1.36 MB / 0.8239 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5607, allocations: 12.03 kB / 0.8239 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.5609, allocations: 131.1 kB / 0.824 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/0.5618, allocations: 180.1 kB / 0.8242 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5629, allocations: 0.7348 MB / 0.8249 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.563, allocations: 61.98 kB / 0.825 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.5631, allocations: 80 kB / 0.8251 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.5645, allocations: 0.8637 MB / 0.8259 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5646, allocations: 3.938 kB / 0.8259 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.5646, allocations: 36 kB / 0.826 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5647, allocations: 19.94 kB / 0.826 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.5664, allocations: 1.065 MB / 0.827 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.5701, allocations: 2.356 MB / 0.8293 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.5715, allocations: 0.789 MB / 0.8301 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.572, allocations: 274.4 kB / 0.8303 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.5721, allocations: 32.59 kB / 0.8304 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007858/0.5729, allocations: 431 kB / 0.8308 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.5729, allocations: 4 kB / 0.8308 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.003039/0.5759, allocations: 1.066 MB / 0.8318 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.5761, allocations: 200.5 kB / 0.832 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.5769, allocations: 0.5862 MB / 0.8326 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.5769, allocations: 41.7 kB / 0.8326 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.5773, allocations: 372.9 kB / 0.833 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.5775, allocations: 245.9 kB / 0.8332 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.5777, allocations: 138.2 kB / 0.8334 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5779, allocations: 378.8 kB / 0.8337 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.5784, allocations: 217.2 kB / 0.8339 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.5789, allocations: 314.8 kB / 0.8342 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.58, allocations: 0.5315 MB / 0.8347 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.58, allocations: 0 / 0.8347 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001779/0.5818, allocations: 0.7162 MB / 0.8354 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5818, allocations: 8 kB / 0.8355 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5818, allocations: 0 / 0.8355 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.5824, allocations: 92.78 kB / 0.8355 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.583, allocations: 135.8 kB / 0.8357 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5852, allocations: 1.628 MB / 0.8373 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.5858, allocations: 79.48 kB / 0.8373 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.5858, allocations: 32.03 kB / 0.8374 GB, free: 15.13 MB / 0.67 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 (75): * Single equations (assignments): 74 * 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.0003777/0.5862, allocations: 245.7 kB / 0.8376 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.5864, allocations: 79.47 kB / 0.8377 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.5887, allocations: 1.002 MB / 0.8387 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.5887, allocations: 8 kB / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5887, allocations: 0 / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5887, allocations: 7.984 kB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.5918, allocations: 1.858 MB / 0.8405 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5919, allocations: 4 kB / 0.8405 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.5924, allocations: 147.8 kB / 0.8406 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.5929, allocations: 76.72 kB / 0.8407 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.593, allocations: 19.98 kB / 0.8407 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.5949, allocations: 1.654 MB / 0.8423 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5949, allocations: 3.938 kB / 0.8423 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.5968, allocations: 0.9204 MB / 0.8432 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5972, allocations: 260.2 kB / 0.8435 GB, free: 8.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5973, allocations: 23.94 kB / 0.8435 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.5978, allocations: 51.89 kB / 0.8436 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.598, allocations: 64.91 kB / 0.8436 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.5981, allocations: 36.05 kB / 0.8437 GB, free: 8.418 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005465/0.5986, allocations: 435 kB / 0.8441 GB, free: 8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5986, allocations: 0 / 0.8441 GB, free: 8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008102/0.5994, allocations: 283.2 kB / 0.8443 GB, free: 7.723 MB / 0.67 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 (86): * Single equations (assignments): 83 * 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.003961/0.6034, allocations: 1.965 MB / 0.8463 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.605, allocations: 0.716 MB / 0.847 GB, free: 5.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.605, allocations: 7.984 kB / 0.847 GB, free: 5.172 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.6059, allocations: 0.4925 MB / 0.8475 GB, free: 4.672 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6071, allocations: 285.2 kB / 0.8477 GB, free: 4.418 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6174, allocations: 5.877 MB / 0.8535 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.6182, allocations: 0.9993 MB / 0.8544 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008172/0.619, allocations: 254.1 kB / 0.8547 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.6196, allocations: 351.3 kB / 0.855 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.6196, allocations: 0 / 0.855 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3256/0.9452, allocations: 19.91 MB / 0.8745 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.4, allocations: 10.14 kB / 0.8745 GB, free: 190.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)