Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.005118/0.005118, allocations: 97.81 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.001453/0.001453, allocations: 192.2 kB / 16.67 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.47 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005541/0.1426, allocations: 4.05 MB / 0.6631 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1594/0.3021, allocations: 150.4 MB / 0.8101 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.3027, allocations: 23.81 kB / 0.8101 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.3031, allocations: 162.5 kB / 0.8102 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.3044, allocations: 475.3 kB / 0.8107 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3061, allocations: 0.776 MB / 0.8114 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3072, allocations: 1.153 MB / 0.8126 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2977/0.6049, allocations: 0.5837 MB / 0.8131 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.6057, allocations: 421.8 kB / 0.8135 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.6065, allocations: 430.7 kB / 0.814 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.6067, allocations: 101.9 kB / 0.814 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.6076, allocations: 471.1 kB / 0.8145 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.6078, allocations: 266.5 kB / 0.8148 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.6083, allocations: 490.6 kB / 0.8152 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.6099, allocations: 1.463 MB / 0.8166 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6099, allocations: 1.062 kB / 0.8167 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6099, allocations: 0 / 0.8167 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.61, allocations: 0 / 0.8167 GB, free: 3.754 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001907/0.6119, allocations: 1.345 MB / 0.818 GB, free: 3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6119, allocations: 10.22 kB / 0.818 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.6121, allocations: 126.1 kB / 0.8181 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.613, allocations: 180.1 kB / 0.8183 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.614, allocations: 0.7212 MB / 0.819 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.6141, allocations: 64.05 kB / 0.819 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6142, allocations: 77.56 kB / 0.8191 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.6157, allocations: 0.8425 MB / 0.8199 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6158, allocations: 0.5938 kB / 0.8199 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.6159, allocations: 34.2 kB / 0.82 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.6159, allocations: 18.72 kB / 0.82 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6176, allocations: 1.048 MB / 0.821 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.6207, allocations: 2.302 MB / 0.8232 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.6219, allocations: 0.7724 MB / 0.824 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.6224, allocations: 269.6 kB / 0.8243 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.6225, allocations: 29.7 kB / 0.8243 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006934/0.6232, allocations: 417.7 kB / 0.8247 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.6232, allocations: 0 / 0.8247 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002782/0.626, allocations: 1.06 MB / 0.8257 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.626, allocations: 190.1 kB / 0.8259 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.6266, allocations: 0.5822 MB / 0.8265 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.6267, allocations: 37.45 kB / 0.8265 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.6269, allocations: 376.2 kB / 0.8269 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.627, allocations: 242.6 kB / 0.8271 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.6272, allocations: 127.3 kB / 0.8272 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6274, allocations: 380.9 kB / 0.8276 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.6278, allocations: 206.4 kB / 0.8278 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.6283, allocations: 312.2 kB / 0.8281 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.6291, allocations: 0.5119 MB / 0.8286 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6291, allocations: 2.125 kB / 0.8286 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001513/0.6307, allocations: 0.7058 MB / 0.8293 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6307, allocations: 6.703 kB / 0.8293 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6307, allocations: 5.359 kB / 0.8293 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.6313, allocations: 81.28 kB / 0.8294 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.6318, allocations: 131.1 kB / 0.8295 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.6338, allocations: 1.635 MB / 0.8311 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.6343, allocations: 68.69 kB / 0.8311 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.6344, allocations: 28.88 kB / 0.8312 GB, free: 14.62 MB / 0.6544 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.0003297/0.6347, allocations: 250.7 kB / 0.8314 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6349, allocations: 75.31 kB / 0.8315 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.6369, allocations: 0.9561 MB / 0.8324 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6369, allocations: 9.406 kB / 0.8324 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6369, allocations: 1.094 kB / 0.8324 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6369, allocations: 5.062 kB / 0.8324 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.6396, allocations: 1.798 MB / 0.8342 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6396, allocations: 0.9375 kB / 0.8342 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.64, allocations: 135.5 kB / 0.8343 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.6405, allocations: 71.3 kB / 0.8344 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.6405, allocations: 28.84 kB / 0.8344 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6424, allocations: 1.658 MB / 0.836 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6424, allocations: 0 / 0.836 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6439, allocations: 0.8993 MB / 0.8369 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6442, allocations: 249.4 kB / 0.8371 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.6443, allocations: 16.59 kB / 0.8372 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6449, allocations: 50.09 kB / 0.8372 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.645, allocations: 63.34 kB / 0.8373 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.6451, allocations: 29.5 kB / 0.8373 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004135/0.6455, allocations: 425.6 kB / 0.8377 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.32e-07/0.6455, allocations: 0 / 0.8377 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000734/0.6462, allocations: 283.8 kB / 0.838 GB, free: 12.09 MB / 0.6544 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.003526/0.6498, allocations: 1.937 MB / 0.8399 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.651, allocations: 0.7014 MB / 0.8406 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6511, allocations: 2.312 kB / 0.8406 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.6518, allocations: 483.9 kB / 0.841 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6529, allocations: 280.7 kB / 0.8413 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.6618, allocations: 5.778 MB / 0.8469 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.6624, allocations: 0.992 MB / 0.8479 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007122/0.6631, allocations: 250.5 kB / 0.8481 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.6635, allocations: 341.2 kB / 0.8485 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6635, allocations: 0 / 0.8485 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6868/1.35, allocations: 19.49 MB / 0.8675 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.33, allocations: 8.906 kB / 0.8675 GB, free: 4.805 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)