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.0007219/0.000722, allocations: 97.33 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.004292/0.004292, allocations: 170.1 kB / 16.27 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7056/0.7056, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8.625 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3769, allocations: 81.57 MB / 0.5838 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003605/0.3805, allocations: 3.657 MB / 0.5873 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1421/0.5226, allocations: 146.5 MB / 0.7304 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.523, allocations: 27.81 kB / 0.7304 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.5234, allocations: 135 kB / 0.7306 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000933/0.5243, allocations: 389.1 kB / 0.7309 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.5256, allocations: 0.6841 MB / 0.7316 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.5265, allocations: 1.071 MB / 0.7326 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.5271, allocations: 0.5683 MB / 0.7332 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.5275, allocations: 290.5 kB / 0.7335 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.5278, allocations: 326.1 kB / 0.7338 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.5279, allocations: 20 kB / 0.7338 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.5284, allocations: 363.6 kB / 0.7342 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.5286, allocations: 163.2 kB / 0.7343 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.5289, allocations: 403.1 kB / 0.7347 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.53, allocations: 1.328 MB / 0.736 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.53, allocations: 4 kB / 0.736 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.53, allocations: 4 kB / 0.736 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5301, allocations: 0 / 0.736 GB, free: 3.969 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001642/0.5317, allocations: 1.112 MB / 0.7371 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5317, allocations: 12.03 kB / 0.7371 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.5319, allocations: 123 kB / 0.7372 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.5327, allocations: 191.5 kB / 0.7374 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.5335, allocations: 0.7031 MB / 0.7381 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.5336, allocations: 54 kB / 0.7381 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.5337, allocations: 76 kB / 0.7382 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.5349, allocations: 0.8442 MB / 0.739 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5349, allocations: 0 / 0.739 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.535, allocations: 32 kB / 0.7391 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.535, allocations: 20 kB / 0.7391 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5366, allocations: 1.05 MB / 0.7401 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.5398, allocations: 2.369 MB / 0.7424 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5409, allocations: 0.7811 MB / 0.7432 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.5414, allocations: 278.1 kB / 0.7434 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.5415, allocations: 24.55 kB / 0.7435 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.5421, allocations: 425.8 kB / 0.7439 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.5422, allocations: 0 / 0.7439 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002643/0.5448, allocations: 1.07 MB / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.5449, allocations: 188.5 kB / 0.7451 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.5455, allocations: 0.5821 MB / 0.7457 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.5456, allocations: 37.7 kB / 0.7457 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.5458, allocations: 372.2 kB / 0.7461 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.546, allocations: 224.7 kB / 0.7463 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.546, allocations: 57.69 kB / 0.7463 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5462, allocations: 374.8 kB / 0.7467 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.5466, allocations: 217.2 kB / 0.7469 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.5473, allocations: 310.8 kB / 0.7472 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.5482, allocations: 0.5195 MB / 0.7477 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5482, allocations: 4 kB / 0.7477 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001505/0.5497, allocations: 0.7158 MB / 0.7484 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5497, allocations: 4 kB / 0.7484 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5497, allocations: 4 kB / 0.7484 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.5503, allocations: 80.88 kB / 0.7485 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.5508, allocations: 135.8 kB / 0.7486 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5526, allocations: 1.528 MB / 0.7501 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.5531, allocations: 83.38 kB / 0.7502 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.5531, allocations: 28.05 kB / 0.7502 GB, free: 4.855 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.0002935/0.5534, allocations: 249.7 kB / 0.7505 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.5535, allocations: 71.16 kB / 0.7505 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.5555, allocations: 0.9625 MB / 0.7515 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5556, allocations: 8 kB / 0.7515 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5556, allocations: 0 / 0.7515 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5556, allocations: 8.062 kB / 0.7515 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.5582, allocations: 1.809 MB / 0.7532 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5582, allocations: 0 / 0.7532 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.5587, allocations: 135.8 kB / 0.7534 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.5592, allocations: 84.77 kB / 0.7535 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.5593, allocations: 23.98 kB / 0.7535 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.5609, allocations: 1.555 MB / 0.755 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5609, allocations: 0 / 0.755 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.5625, allocations: 0.8907 MB / 0.7559 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.5627, allocations: 263.8 kB / 0.7561 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.5628, allocations: 16 kB / 0.7561 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.5634, allocations: 71.94 kB / 0.7562 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5635, allocations: 56.92 kB / 0.7563 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.5636, allocations: 27.98 kB / 0.7563 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004364/0.564, allocations: 435 kB / 0.7567 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.564, allocations: 0 / 0.7567 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006619/0.5647, allocations: 271.4 kB / 0.757 GB, free: 13.69 MB / 0.5919 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.002925/0.5676, allocations: 1.93 MB / 0.7588 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.5689, allocations: 0.7123 MB / 0.7595 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5689, allocations: 0 / 0.7595 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.5697, allocations: 480.2 kB / 0.76 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.5708, allocations: 265.9 kB / 0.7602 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.5807, allocations: 6.36 MB / 0.7665 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.5812, allocations: 0.992 MB / 0.7674 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006834/0.5819, allocations: 245.5 kB / 0.7677 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.5823, allocations: 347.3 kB / 0.768 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of SimCode: time 1.704e-06/0.5823, allocations: 0 / 0.768 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/0.9113, allocations: 18.31 MB / 0.7859 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.9116, allocations: 300.9 kB / 0.7862 GB, free: 164 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/3.027, allocations: 0 / 0.7862 GB, free: 164 kB / 0.6075 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)