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.0008631/0.0008631, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00524/0.00524, allocations: 169 kB / 16.26 MB, free: 6.652 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8336/0.8336, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00421/0.1357, allocations: 3.71 MB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3432/0.4789, allocations: 146.6 MB / 0.7348 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005407/0.4795, allocations: 14.69 kB / 0.7348 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.4799, allocations: 139.7 kB / 0.735 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.4812, allocations: 395.2 kB / 0.7353 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4829, allocations: 0.6915 MB / 0.736 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.4841, allocations: 1.099 MB / 0.7371 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/0.4848, allocations: 0.5807 MB / 0.7377 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.4852, allocations: 305.5 kB / 0.738 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.4856, allocations: 332.6 kB / 0.7383 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.4856, allocations: 21.72 kB / 0.7383 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.4863, allocations: 369 kB / 0.7386 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4865, allocations: 166.2 kB / 0.7388 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.4868, allocations: 417.5 kB / 0.7392 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.488, allocations: 1.353 MB / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.488, allocations: 0 / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.488, allocations: 1.625 kB / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.488, allocations: 0 / 0.7405 GB, free: 11.97 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.001628/0.4896, allocations: 1.13 MB / 0.7416 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4897, allocations: 10.06 kB / 0.7416 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.4898, allocations: 132 kB / 0.7418 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007506/0.4906, allocations: 191.5 kB / 0.7419 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.4914, allocations: 0.7043 MB / 0.7426 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.4914, allocations: 66.69 kB / 0.7427 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.4915, allocations: 75.22 kB / 0.7428 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4928, allocations: 0.8691 MB / 0.7436 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4928, allocations: 3.75 kB / 0.7436 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.4929, allocations: 32.25 kB / 0.7437 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.4929, allocations: 19.25 kB / 0.7437 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.4944, allocations: 1.075 MB / 0.7447 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.4975, allocations: 2.4 MB / 0.7471 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4986, allocations: 0.8017 MB / 0.7478 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.499, allocations: 285 kB / 0.7481 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.4991, allocations: 32.81 kB / 0.7481 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/0.4997, allocations: 423.8 kB / 0.7486 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.623e-06/0.4998, allocations: 4 kB / 0.7486 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002438/0.5022, allocations: 1.089 MB / 0.7496 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.5023, allocations: 194.6 kB / 0.7498 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.5029, allocations: 0.583 MB / 0.7504 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.5029, allocations: 40.92 kB / 0.7504 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.5032, allocations: 369.8 kB / 0.7508 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.5033, allocations: 238.2 kB / 0.751 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.5034, allocations: 56.47 kB / 0.751 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5036, allocations: 384 kB / 0.7514 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.504, allocations: 216.6 kB / 0.7516 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.5045, allocations: 322.7 kB / 0.7519 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.5054, allocations: 0.5393 MB / 0.7525 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5054, allocations: 3.938 kB / 0.7525 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001501/0.5069, allocations: 0.7237 MB / 0.7532 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5069, allocations: 4 kB / 0.7532 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5069, allocations: 0 / 0.7532 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.5074, allocations: 84.81 kB / 0.7533 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.508, allocations: 139.8 kB / 0.7534 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1121/0.6201, allocations: 1.532 MB / 0.7549 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.6207, allocations: 80.94 kB / 0.755 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.6208, allocations: 31.97 kB / 0.755 GB, free: 0.8984 MB / 0.5606 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.0003501/0.6211, allocations: 241.7 kB / 0.7552 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6212, allocations: 82.56 kB / 0.7553 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.6233, allocations: 1.01 MB / 0.7563 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6233, allocations: 12 kB / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6233, allocations: 0 / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6233, allocations: 3.984 kB / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.626, allocations: 1.862 MB / 0.7581 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6261, allocations: 0 / 0.7581 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.6266, allocations: 151.8 kB / 0.7583 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.6271, allocations: 84.77 kB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.6271, allocations: 23.92 kB / 0.7584 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.6287, allocations: 1.548 MB / 0.7599 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6287, allocations: 0 / 0.7599 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.6303, allocations: 0.9258 MB / 0.7608 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.6306, allocations: 271.7 kB / 0.761 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.6307, allocations: 16 kB / 0.7611 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.6312, allocations: 67.94 kB / 0.7611 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.6313, allocations: 60.92 kB / 0.7612 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.6314, allocations: 39.84 kB / 0.7612 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004368/0.6318, allocations: 427.1 kB / 0.7616 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6318, allocations: 0 / 0.7616 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006559/0.6325, allocations: 287.3 kB / 0.7619 GB, free: 9.574 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.002856/0.6354, allocations: 1.975 MB / 0.7638 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.6366, allocations: 0.7275 MB / 0.7645 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6366, allocations: 0 / 0.7645 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.6374, allocations: 0.4887 MB / 0.765 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6385, allocations: 259.8 kB / 0.7653 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.6485, allocations: 6.487 MB / 0.7716 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6491, allocations: 1.003 MB / 0.7726 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.6498, allocations: 250.1 kB / 0.7728 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.6503, allocations: 351.3 kB / 0.7731 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.6503, allocations: 0 / 0.7731 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.662/3.313, allocations: 18.73 MB / 0.7914 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01256/3.325, allocations: 314.2 kB / 0.7917 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/5.932, allocations: 0 / 0.7917 GB, free: 11.36 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)