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.001088/0.001088, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8553/0.8553, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.27 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005365/0.1306, allocations: 4.1 MB / 0.5885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3647/0.4953, allocations: 150.5 MB / 0.7354 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.4959, allocations: 19.38 kB / 0.7354 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.4964, allocations: 167 kB / 0.7356 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4976, allocations: 481.9 kB / 0.7361 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4993, allocations: 0.7993 MB / 0.7368 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.5003, allocations: 1.173 MB / 0.738 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007478/0.5011, allocations: 0.6063 MB / 0.7386 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.5015, allocations: 437.4 kB / 0.739 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.502, allocations: 450.5 kB / 0.7394 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.5021, allocations: 100.9 kB / 0.7395 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.5027, allocations: 451.7 kB / 0.74 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.503, allocations: 265.9 kB / 0.7402 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.5034, allocations: 0.4984 MB / 0.7407 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.5047, allocations: 1.435 MB / 0.7421 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5047, allocations: 0 / 0.7421 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5047, allocations: 0 / 0.7421 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.5047, allocations: 1.375 kB / 0.7421 GB, free: 8.527 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001961/0.5067, allocations: 1.337 MB / 0.7434 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5067, allocations: 9.875 kB / 0.7434 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.5069, allocations: 130.1 kB / 0.7435 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/0.5078, allocations: 174.7 kB / 0.7437 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.5087, allocations: 0.7114 MB / 0.7444 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.5087, allocations: 61.44 kB / 0.7445 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.5088, allocations: 75.19 kB / 0.7445 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5101, allocations: 0.8626 MB / 0.7454 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5102, allocations: 0 / 0.7454 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.5102, allocations: 32.09 kB / 0.7454 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5103, allocations: 20.91 kB / 0.7454 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.5118, allocations: 1.065 MB / 0.7465 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.515, allocations: 2.371 MB / 0.7488 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5162, allocations: 0.7965 MB / 0.7496 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.5167, allocations: 278.5 kB / 0.7498 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.5168, allocations: 34.05 kB / 0.7498 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007438/0.5175, allocations: 421.7 kB / 0.7503 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.853e-06/0.5175, allocations: 0 / 0.7503 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002761/0.5203, allocations: 1.08 MB / 0.7513 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.5204, allocations: 192.6 kB / 0.7515 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/0.5211, allocations: 0.5861 MB / 0.7521 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.5211, allocations: 41.7 kB / 0.7521 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.5214, allocations: 368.4 kB / 0.7525 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.5216, allocations: 237.2 kB / 0.7527 GB, free: 116 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.5218, allocations: 130.2 kB / 0.7528 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.522, allocations: 386.7 kB / 0.7532 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.5225, allocations: 213.2 kB / 0.7534 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.523, allocations: 314.7 kB / 0.7537 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.524, allocations: 0.5277 MB / 0.7542 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.524, allocations: 7.281 kB / 0.7542 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001652/0.5256, allocations: 0.7197 MB / 0.7549 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5257, allocations: 8 kB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5257, allocations: 4.094 kB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.5262, allocations: 80.72 kB / 0.755 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.5268, allocations: 135.8 kB / 0.7551 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.5287, allocations: 1.628 MB / 0.7567 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.5292, allocations: 72.42 kB / 0.7568 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.5293, allocations: 31.97 kB / 0.7568 GB, free: 11.68 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 (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.0002931/0.5296, allocations: 253.6 kB / 0.757 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5297, allocations: 83.06 kB / 0.7571 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.5319, allocations: 0.9924 MB / 0.7581 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.5319, allocations: 8 kB / 0.7581 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5319, allocations: 3.75 kB / 0.7581 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5319, allocations: 7.969 kB / 0.7581 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.5348, allocations: 1.854 MB / 0.7599 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5348, allocations: 3.938 kB / 0.7599 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.5354, allocations: 147.7 kB / 0.7601 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.5358, allocations: 72.78 kB / 0.7601 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.5359, allocations: 23.98 kB / 0.7602 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.5376, allocations: 1.658 MB / 0.7618 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5377, allocations: 3.938 kB / 0.7618 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.5394, allocations: 0.9142 MB / 0.7627 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.5397, allocations: 263.8 kB / 0.7629 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5398, allocations: 16 kB / 0.7629 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.5403, allocations: 52.64 kB / 0.763 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5405, allocations: 56.86 kB / 0.7631 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.5405, allocations: 35.98 kB / 0.7631 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004788/0.541, allocations: 435 kB / 0.7635 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.541, allocations: 0 / 0.7635 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007289/0.5418, allocations: 283.2 kB / 0.7638 GB, free: 4.289 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 (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.003114/0.5449, allocations: 1.957 MB / 0.7657 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.5468, allocations: 0.9109 MB / 0.7666 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5469, allocations: 0 / 0.7666 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.5477, allocations: 0.4887 MB / 0.767 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5488, allocations: 287 kB / 0.7673 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00961/0.5584, allocations: 6.05 MB / 0.7732 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.559, allocations: 0.9999 MB / 0.7742 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007487/0.5598, allocations: 254.1 kB / 0.7744 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.5603, allocations: 343.3 kB / 0.7748 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5603, allocations: 4 kB / 0.7748 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5828/1.143, allocations: 19.7 MB / 0.794 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.73, allocations: 7.188 kB / 0.794 GB, free: 5.734 MB / 0.6075 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)