Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.Examples.SimInfoManager,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",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.004326/0.004326, allocations: 96.7 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.001264/0.001264, allocations: 194.3 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9496/0.9496, allocations: 135.2 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.339, allocations: 80.92 MB / 0.6642 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007154/0.3462, allocations: 6.953 MB / 0.671 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5179, allocations: 155.7 MB / 0.8231 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.519, allocations: 27.88 kB / 0.8231 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.5198, allocations: 289.2 kB / 0.8234 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.5217, allocations: 0.7125 MB / 0.824 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.5243, allocations: 1.288 MB / 0.8253 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00443/0.5288, allocations: 4.567 MB / 0.8298 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.5322, allocations: 2.86 MB / 0.8326 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.5349, allocations: 1.739 MB / 0.8343 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.537, allocations: 1.778 MB / 0.836 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005906/0.5376, allocations: 464 kB / 0.8364 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.5394, allocations: 1.066 MB / 0.8375 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.5404, allocations: 0.997 MB / 0.8384 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.5423, allocations: 1.87 MB / 0.8403 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.5482, allocations: 5.552 MB / 0.8457 GB, free: 6.957 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5482, allocations: 0 / 0.8457 GB, free: 6.957 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5482, allocations: 0 / 0.8457 GB, free: 6.957 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.382e-05/0.5483, allocations: 0 / 0.8457 GB, free: 6.957 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.00756/0.5559, allocations: 3.969 MB / 0.8496 GB, free: 2.914 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5559, allocations: 12.03 kB / 0.8496 GB, free: 2.902 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005484/0.5565, allocations: 421.6 kB / 0.85 GB, free: 2.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.5656, allocations: 1.301 MB / 0.8513 GB, free: 1.176 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.569, allocations: 2.141 MB / 0.8533 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.5692, allocations: 230 kB / 0.8536 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/0.5697, allocations: 296 kB / 0.8539 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008761/0.5785, allocations: 4.46 MB / 0.8582 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.467e-05/0.5785, allocations: 4 kB / 0.8582 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.5789, allocations: 120 kB / 0.8583 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/0.5789, allocations: 76 kB / 0.8584 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.5901, allocations: 4.878 MB / 0.8632 GB, free: 4.805 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2781/0.8682, allocations: 14.04 MB / 0.8769 GB, free: 181 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.8785, allocations: 4.039 MB / 0.8808 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.882, allocations: 1.666 MB / 0.8824 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008559/0.8829, allocations: 1.083 MB / 0.8835 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003833/0.8867, allocations: 2.033 MB / 0.8855 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 4.479e-06/0.8867, allocations: 0 / 0.8855 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01253/0.8993, allocations: 5.239 MB / 0.8906 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.8994, allocations: 203.4 kB / 0.8908 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.9017, allocations: 1.933 MB / 0.8927 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.902, allocations: 61.92 kB / 0.8927 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007722/0.9027, allocations: 1.216 MB / 0.8939 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.9032, allocations: 0.7505 MB / 0.8947 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.904, allocations: 0.5041 MB / 0.8952 GB, free: 170.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.904, allocations: 306.3 kB / 0.8955 GB, free: 170 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.9074, allocations: 1.554 MB / 0.897 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/0.911, allocations: 1.863 MB / 0.8988 GB, free: 168 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/0.9178, allocations: 3.398 MB / 0.9021 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.9178, allocations: 1.375 kB / 0.9021 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008846/0.9266, allocations: 3.908 MB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9267, allocations: 11.56 kB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9267, allocations: 5.078 kB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.9273, allocations: 103 kB / 0.906 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/0.9304, allocations: 0.6785 MB / 0.9067 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.932, allocations: 1.7 MB / 0.9084 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.935, allocations: 433.1 kB / 0.9088 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.9352, allocations: 122.7 kB / 0.9089 GB, free: 161.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (265): * Single equations (assignments): 264 * 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.001503/0.9367, allocations: 0.9322 MB / 0.9098 GB, free: 161.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.9373, allocations: 231.4 kB / 0.91 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/0.9464, allocations: 4.193 MB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.9464, allocations: 23.31 kB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9464, allocations: 3.844 kB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.9465, allocations: 11.95 kB / 0.9142 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.959, allocations: 7.854 MB / 0.9218 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.959, allocations: 3.938 kB / 0.9218 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/0.9617, allocations: 0.5812 MB / 0.9224 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.9621, allocations: 76.73 kB / 0.9225 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/0.9623, allocations: 67.94 kB / 0.9225 GB, free: 150.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.9638, allocations: 1.719 MB / 0.9242 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9638, allocations: 3.844 kB / 0.9242 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/0.9707, allocations: 3.474 MB / 0.9276 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.9717, allocations: 0.7551 MB / 0.9283 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.9721, allocations: 67.66 kB / 0.9284 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.9744, allocations: 271.6 kB / 0.9287 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.9747, allocations: 149.8 kB / 0.9288 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.9749, allocations: 83.95 kB / 0.9289 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001659/0.9765, allocations: 1.482 MB / 0.9303 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9766, allocations: 0 / 0.9303 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001902/0.9785, allocations: 0.8755 MB / 0.9312 GB, free: 141.7 MB / 0.6856 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.009435/0.9879, allocations: 4.612 MB / 0.9357 GB, free: 137.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006944/0.9949, allocations: 3.553 MB / 0.9392 GB, free: 133.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9949, allocations: 4 kB / 0.9392 GB, free: 133.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.998, allocations: 1.79 MB / 0.9409 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.9998, allocations: 439.9 kB / 0.9413 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/1.039, allocations: 24.09 MB / 0.9649 GB, free: 107 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.04, allocations: 2.246 MB / 0.9671 GB, free: 104.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002799/1.043, allocations: 0.9222 MB / 0.968 GB, free: 103.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.045, allocations: 1.249 MB / 0.9692 GB, free: 102.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/1.045, allocations: 0 / 0.9692 GB, free: 102.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.176, allocations: 60.19 MB / 1.028 GB, free: 42.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.78, allocations: 7.984 kB / 1.028 GB, free: 42.72 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)