Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005619/0.00562, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001264/0.001263, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.416/1.416, 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-master/package.mo): time 0.8448/0.8448, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 70 kB / 0.5857 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 81.02 MB / 0.6648 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006/0.1456, allocations: 4.133 MB / 0.6689 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4463/0.5919, allocations: 150.5 MB / 0.8158 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.5926, allocations: 15.69 kB / 0.8159 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.5932, allocations: 168 kB / 0.816 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.5947, allocations: 488.9 kB / 0.8165 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.5965, allocations: 0.7892 MB / 0.8173 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.5978, allocations: 1.201 MB / 0.8184 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.5986, allocations: 0.6081 MB / 0.819 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.5991, allocations: 436.9 kB / 0.8194 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.5995, allocations: 448.4 kB / 0.8199 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.5997, allocations: 102.6 kB / 0.82 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.6004, allocations: 476.2 kB / 0.8204 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.6007, allocations: 268.7 kB / 0.8207 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.6011, allocations: 0.5022 MB / 0.8212 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.6027, allocations: 1.494 MB / 0.8226 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6027, allocations: 0 / 0.8226 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6027, allocations: 3.938 kB / 0.8226 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.6027, allocations: 0 / 0.8226 GB, free: 4.961 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002108/0.6049, allocations: 1.362 MB / 0.824 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6049, allocations: 11.45 kB / 0.824 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.6051, allocations: 133.5 kB / 0.8241 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.6059, allocations: 193.3 kB / 0.8243 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.607, allocations: 0.7285 MB / 0.825 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.6071, allocations: 57 kB / 0.825 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.6071, allocations: 76.12 kB / 0.8251 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.6086, allocations: 0.8763 MB / 0.826 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6086, allocations: 2.906 kB / 0.826 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.6087, allocations: 31.25 kB / 0.826 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.6087, allocations: 18.25 kB / 0.826 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.6103, allocations: 1.072 MB / 0.8271 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.6138, allocations: 2.356 MB / 0.8294 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6151, allocations: 0.7944 MB / 0.8301 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.6156, allocations: 283.3 kB / 0.8304 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.6157, allocations: 31.58 kB / 0.8304 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.6164, allocations: 427.6 kB / 0.8309 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.265e-06/0.6165, allocations: 4 kB / 0.8309 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002915/0.6194, allocations: 1.09 MB / 0.8319 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6195, allocations: 190.1 kB / 0.8321 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.6202, allocations: 0.5825 MB / 0.8327 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.6203, allocations: 38.36 kB / 0.8327 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.6206, allocations: 386.6 kB / 0.8331 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.6208, allocations: 248.1 kB / 0.8333 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.621, allocations: 139.9 kB / 0.8334 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6212, allocations: 373.7 kB / 0.8338 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.6217, allocations: 217.9 kB / 0.834 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.6222, allocations: 329.7 kB / 0.8343 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/0.6232, allocations: 0.5373 MB / 0.8348 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6232, allocations: 3.938 kB / 0.8349 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001703/0.6249, allocations: 0.7217 MB / 0.8356 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.625, allocations: 12.58 kB / 0.8356 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.625, allocations: 7.031 kB / 0.8356 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.6256, allocations: 75.28 kB / 0.8356 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.6261, allocations: 144.1 kB / 0.8358 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.6284, allocations: 1.625 MB / 0.8374 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.6289, allocations: 84.8 kB / 0.8375 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.629, allocations: 29.27 kB / 0.8375 GB, free: 10.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0003376/0.6293, allocations: 249.7 kB / 0.8377 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6295, allocations: 82.48 kB / 0.8378 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.6317, allocations: 1.007 MB / 0.8388 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6318, allocations: 13.38 kB / 0.8388 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.6318, allocations: 0 / 0.8388 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6318, allocations: 3.984 kB / 0.8388 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.6349, allocations: 1.87 MB / 0.8406 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6349, allocations: 4 kB / 0.8406 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.6355, allocations: 149.4 kB / 0.8408 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.6359, allocations: 72.03 kB / 0.8408 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.636, allocations: 29.83 kB / 0.8409 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.638, allocations: 1.65 MB / 0.8425 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.638, allocations: 3.938 kB / 0.8425 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.6398, allocations: 0.9184 MB / 0.8434 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.6402, allocations: 269.8 kB / 0.8436 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6403, allocations: 17.27 kB / 0.8437 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.6409, allocations: 56.42 kB / 0.8437 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.641, allocations: 63.48 kB / 0.8438 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.6411, allocations: 32.12 kB / 0.8438 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004907/0.6416, allocations: 428.6 kB / 0.8442 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6416, allocations: 0 / 0.8442 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007089/0.6423, allocations: 289.8 kB / 0.8445 GB, free: 5.277 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 (87): * Single equations (assignments): 84 * 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.003874/0.6462, allocations: 1.966 MB / 0.8464 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6477, allocations: 0.7287 MB / 0.8471 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6477, allocations: 0 / 0.8471 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.6487, allocations: 0.4926 MB / 0.8476 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6499, allocations: 295.4 kB / 0.8479 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.6606, allocations: 5.904 MB / 0.8536 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.6613, allocations: 1.007 MB / 0.8546 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007356/0.6621, allocations: 254.3 kB / 0.8549 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6626, allocations: 355.2 kB / 0.8552 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.6626, allocations: 0 / 0.8552 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/0.7167, allocations: 19.95 MB / 0.8747 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.43, allocations: 15.72 kB / 0.8747 GB, free: 7.141 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)