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.000944/0.0009442, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009474/0.0009475, allocations: 195.6 kB / 16.14 MB, free: 6.695 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8221/0.8221, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.44 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.93 MB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00483/0.1324, allocations: 4.082 MB / 0.5878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3617/0.494, allocations: 148.1 MB / 0.7325 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.4949, allocations: 14.62 kB / 0.7325 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.4957, allocations: 139.6 kB / 0.7326 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.4978, allocations: 386.8 kB / 0.733 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.5, allocations: 0.6911 MB / 0.7337 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.5011, allocations: 1.085 MB / 0.7347 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.5018, allocations: 0.5973 MB / 0.7353 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.5023, allocations: 365.8 kB / 0.7356 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.5027, allocations: 419.3 kB / 0.736 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5028, allocations: 51.19 kB / 0.7361 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.5035, allocations: 397.2 kB / 0.7365 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.5037, allocations: 219.1 kB / 0.7367 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.5041, allocations: 454.8 kB / 0.7371 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5052, allocations: 1.402 MB / 0.7385 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5052, allocations: 2.281 kB / 0.7385 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5052, allocations: 0 / 0.7385 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.5052, allocations: 0 / 0.7385 GB, free: 11.3 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.001904/0.5071, allocations: 1.319 MB / 0.7398 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5072, allocations: 8.312 kB / 0.7398 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.5073, allocations: 126.3 kB / 0.7399 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.5081, allocations: 177.8 kB / 0.7401 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.509, allocations: 0.7093 MB / 0.7408 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.509, allocations: 57.62 kB / 0.7408 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.5091, allocations: 74.56 kB / 0.7409 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5105, allocations: 0.8556 MB / 0.7417 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5105, allocations: 0 / 0.7417 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.5106, allocations: 36.22 kB / 0.7418 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5106, allocations: 19.94 kB / 0.7418 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.5121, allocations: 1.062 MB / 0.7428 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/0.5152, allocations: 2.381 MB / 0.7451 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5163, allocations: 0.7978 MB / 0.7459 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.5167, allocations: 275.6 kB / 0.7462 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.5168, allocations: 25.67 kB / 0.7462 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.5175, allocations: 428 kB / 0.7466 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.914e-06/0.5175, allocations: 3.938 kB / 0.7466 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002648/0.5201, allocations: 1.074 MB / 0.7477 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.5202, allocations: 189 kB / 0.7479 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.5208, allocations: 0.5834 MB / 0.7484 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5209, allocations: 37.7 kB / 0.7485 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.5211, allocations: 376.2 kB / 0.7488 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5213, allocations: 236.6 kB / 0.749 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.5214, allocations: 134.1 kB / 0.7492 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5216, allocations: 382.8 kB / 0.7495 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.522, allocations: 209.2 kB / 0.7497 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.5224, allocations: 318.8 kB / 0.75 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.5233, allocations: 0.5195 MB / 0.7505 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5233, allocations: 4 kB / 0.7506 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001528/0.5249, allocations: 0.7119 MB / 0.7512 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5249, allocations: 4 kB / 0.7512 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5249, allocations: 4 kB / 0.7513 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.5255, allocations: 84.86 kB / 0.7513 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.526, allocations: 127.8 kB / 0.7515 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5278, allocations: 1.527 MB / 0.7529 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.5283, allocations: 75.42 kB / 0.753 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.5283, allocations: 23.98 kB / 0.753 GB, free: 15.36 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.0002869/0.5286, allocations: 245.9 kB / 0.7533 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5287, allocations: 79.06 kB / 0.7534 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.5307, allocations: 0.9704 MB / 0.7543 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.5307, allocations: 8 kB / 0.7543 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.5308, allocations: 0 / 0.7543 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5308, allocations: 7.984 kB / 0.7543 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.5334, allocations: 1.836 MB / 0.7561 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5334, allocations: 5.484 kB / 0.7561 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.5339, allocations: 135.8 kB / 0.7562 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.5344, allocations: 84.77 kB / 0.7563 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5344, allocations: 23.92 kB / 0.7563 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.536, allocations: 1.558 MB / 0.7579 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.536, allocations: 0 / 0.7579 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.5377, allocations: 0.9095 MB / 0.7588 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.5379, allocations: 251.9 kB / 0.759 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.538, allocations: 16 kB / 0.759 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/0.5386, allocations: 51.94 kB / 0.7591 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5387, allocations: 52.92 kB / 0.7591 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.5387, allocations: 31.98 kB / 0.7591 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004264/0.5392, allocations: 435 kB / 0.7596 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5392, allocations: 0 / 0.7596 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006715/0.5398, allocations: 275.3 kB / 0.7598 GB, free: 8.18 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.002862/0.5427, allocations: 1.938 MB / 0.7617 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.544, allocations: 0.7118 MB / 0.7624 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.544, allocations: 0 / 0.7624 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007564/0.5447, allocations: 484.4 kB / 0.7629 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.5457, allocations: 263.2 kB / 0.7631 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009866/0.5556, allocations: 6.335 MB / 0.7693 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.5561, allocations: 0.9928 MB / 0.7703 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006796/0.5568, allocations: 256.2 kB / 0.7705 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.5572, allocations: 347.3 kB / 0.7709 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5572, allocations: 4 kB / 0.7709 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7874/1.345, allocations: 18.77 MB / 0.7892 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/1.345, allocations: 294.1 kB / 0.7895 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.535, allocations: 3.25 kB / 0.7895 GB, free: 10.09 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)