Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_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.004647/0.004647, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001149/0.001149, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7278/0.7278, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001139, allocations: 64.56 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007086/0.1381, allocations: 4.111 MB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4701/0.6082, allocations: 150.5 MB / 0.8101 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.6089, allocations: 15.41 kB / 0.8102 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.6094, allocations: 166.7 kB / 0.8103 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.6107, allocations: 484.3 kB / 0.8108 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6121, allocations: 0.7942 MB / 0.8116 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.613, allocations: 1.196 MB / 0.8127 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.6137, allocations: 0.6034 MB / 0.8133 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.6142, allocations: 438.7 kB / 0.8137 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.6146, allocations: 448.5 kB / 0.8142 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.6148, allocations: 103.5 kB / 0.8143 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.6155, allocations: 478.6 kB / 0.8147 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.6157, allocations: 272 kB / 0.815 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.616, allocations: 499.6 kB / 0.8154 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.6174, allocations: 1.485 MB / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6174, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6174, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6174, allocations: 0 / 0.8169 GB, free: 9.828 MB / 0.5919 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.001922/0.6193, allocations: 1.336 MB / 0.8182 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6194, allocations: 8.25 kB / 0.8182 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.6195, allocations: 135.1 kB / 0.8183 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008144/0.6203, allocations: 175.1 kB / 0.8185 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.6213, allocations: 0.7253 MB / 0.8192 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.6213, allocations: 68.86 kB / 0.8193 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.6214, allocations: 77.41 kB / 0.8194 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.6227, allocations: 0.863 MB / 0.8202 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6227, allocations: 0 / 0.8202 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.6228, allocations: 39.89 kB / 0.8202 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.6228, allocations: 19.84 kB / 0.8203 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.6242, allocations: 1.06 MB / 0.8213 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.6275, allocations: 2.342 MB / 0.8236 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.6286, allocations: 0.7926 MB / 0.8243 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.6291, allocations: 272.8 kB / 0.8246 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.6292, allocations: 32.8 kB / 0.8246 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000668/0.6298, allocations: 424.8 kB / 0.825 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.415e-06/0.6299, allocations: 0 / 0.825 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002613/0.6325, allocations: 1.072 MB / 0.8261 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.6326, allocations: 194.8 kB / 0.8263 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.6332, allocations: 0.5784 MB / 0.8268 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.6333, allocations: 42.45 kB / 0.8269 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.6335, allocations: 373.5 kB / 0.8272 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.6337, allocations: 244 kB / 0.8275 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.6339, allocations: 132.9 kB / 0.8276 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.634, allocations: 381 kB / 0.828 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.6344, allocations: 217.4 kB / 0.8282 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.6349, allocations: 315.7 kB / 0.8285 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.6358, allocations: 0.5314 MB / 0.829 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6358, allocations: 2.938 kB / 0.829 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001551/0.6373, allocations: 0.7211 MB / 0.8297 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6374, allocations: 4.312 kB / 0.8297 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6374, allocations: 0 / 0.8297 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.6379, allocations: 80.36 kB / 0.8298 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.6385, allocations: 142.7 kB / 0.8299 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.6403, allocations: 1.629 MB / 0.8315 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.6409, allocations: 72.7 kB / 0.8316 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.6409, allocations: 25.02 kB / 0.8316 GB, free: 15.6 MB / 0.6075 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.0003298/0.6413, allocations: 251 kB / 0.8318 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.6414, allocations: 78.06 kB / 0.8319 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6434, allocations: 1.006 MB / 0.8329 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6435, allocations: 7.5 kB / 0.8329 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.6435, allocations: 0 / 0.8329 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.6435, allocations: 10.08 kB / 0.8329 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.6463, allocations: 1.855 MB / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6463, allocations: 3.938 kB / 0.8347 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.6468, allocations: 148.6 kB / 0.8349 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.6472, allocations: 68.05 kB / 0.8349 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.6473, allocations: 19.73 kB / 0.835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.6491, allocations: 1.649 MB / 0.8366 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6491, allocations: 12.72 kB / 0.8366 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.6509, allocations: 0.925 MB / 0.8375 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.6512, allocations: 259.1 kB / 0.8377 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.6513, allocations: 17.28 kB / 0.8377 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.6518, allocations: 54.39 kB / 0.8378 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6519, allocations: 56.67 kB / 0.8378 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.652, allocations: 42.55 kB / 0.8379 GB, free: 11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004744/0.6525, allocations: 432.8 kB / 0.8383 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6525, allocations: 0 / 0.8383 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007433/0.6533, allocations: 281.9 kB / 0.8386 GB, free: 10.66 MB / 0.6075 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.003273/0.6565, allocations: 1.943 MB / 0.8405 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.658, allocations: 0.7226 MB / 0.8412 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6581, allocations: 2.281 kB / 0.8412 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.6588, allocations: 0.4899 MB / 0.8417 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6599, allocations: 302 kB / 0.8419 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009934/0.6698, allocations: 5.855 MB / 0.8477 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.6706, allocations: 1.003 MB / 0.8486 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008112/0.6714, allocations: 249.4 kB / 0.8489 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.6719, allocations: 351.2 kB / 0.8492 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of SimCode: time 1.352e-06/0.672, allocations: 0 / 0.8492 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/0.7176, allocations: 19.91 MB / 0.8687 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.45, allocations: 9.594 kB / 0.8687 GB, free: 13.75 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)