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.004197/0.004197, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001028/0.001028, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8964/0.8964, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 0.5851 GB, free: 3.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 80.93 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.006556/0.3439, allocations: 6.957 MB / 0.6709 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.4971, allocations: 155.7 MB / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007936/0.4979, allocations: 27.88 kB / 0.823 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.4987, allocations: 297.2 kB / 0.8233 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.5003, allocations: 0.7202 MB / 0.824 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.5026, allocations: 1.296 MB / 0.8253 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003751/0.5063, allocations: 4.559 MB / 0.8297 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.5093, allocations: 2.871 MB / 0.8325 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.5117, allocations: 1.774 MB / 0.8343 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5134, allocations: 1.778 MB / 0.836 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.5139, allocations: 464 kB / 0.8364 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.5155, allocations: 1.062 MB / 0.8375 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.5163, allocations: 0.9893 MB / 0.8384 GB, free: 14.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.5179, allocations: 1.882 MB / 0.8403 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.5229, allocations: 5.543 MB / 0.8457 GB, free: 6.988 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5229, allocations: 0 / 0.8457 GB, free: 6.988 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5229, allocations: 0 / 0.8457 GB, free: 6.988 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.21e-05/0.523, allocations: 0 / 0.8457 GB, free: 6.988 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.007086/0.5301, allocations: 3.969 MB / 0.8496 GB, free: 2.945 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5301, allocations: 15.97 kB / 0.8496 GB, free: 2.93 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004811/0.5306, allocations: 425.6 kB / 0.85 GB, free: 2.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.54, allocations: 1.305 MB / 0.8513 GB, free: 1.195 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.5434, allocations: 2.137 MB / 0.8534 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5436, allocations: 230 kB / 0.8536 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.544, allocations: 296 kB / 0.8539 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008248/0.5523, allocations: 4.448 MB / 0.8582 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.5524, allocations: 7.938 kB / 0.8582 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.5527, allocations: 120 kB / 0.8583 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.5527, allocations: 76 kB / 0.8584 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.5636, allocations: 4.882 MB / 0.8632 GB, free: 4.836 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.2843/0.8479, allocations: 14.04 MB / 0.8769 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.8583, allocations: 4.033 MB / 0.8808 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.8618, allocations: 1.666 MB / 0.8824 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.8627, allocations: 1.074 MB / 0.8835 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003873/0.8665, allocations: 2.031 MB / 0.8855 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 4.118e-06/0.8666, allocations: 0 / 0.8855 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.0125/0.8791, allocations: 5.241 MB / 0.8906 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.8791, allocations: 207.6 kB / 0.8908 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.8815, allocations: 1.933 MB / 0.8927 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.8818, allocations: 62.42 kB / 0.8927 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.8825, allocations: 1.208 MB / 0.8939 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.883, allocations: 0.7542 MB / 0.8946 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007817/0.8838, allocations: 0.5079 MB / 0.8951 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.8838, allocations: 301.1 kB / 0.8954 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.8873, allocations: 1.551 MB / 0.8969 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/0.891, allocations: 1.869 MB / 0.8988 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/0.8983, allocations: 3.395 MB / 0.9021 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.8983, allocations: 4 kB / 0.9021 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009152/0.9074, allocations: 3.903 MB / 0.9059 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.9075, allocations: 10.66 kB / 0.9059 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9075, allocations: 5.125 kB / 0.9059 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.9081, allocations: 96.33 kB / 0.906 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.9115, allocations: 0.6884 MB / 0.9067 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.9132, allocations: 1.704 MB / 0.9083 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.9164, allocations: 425.6 kB / 0.9088 GB, free: 162 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.9166, allocations: 129 kB / 0.9089 GB, free: 162 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.00148/0.9181, allocations: 0.9277 MB / 0.9098 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.9186, allocations: 231.5 kB / 0.91 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009032/0.9276, allocations: 4.199 MB / 0.9141 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.9276, allocations: 29.67 kB / 0.9141 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.9276, allocations: 0 / 0.9141 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.9277, allocations: 11.95 kB / 0.9141 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.9398, allocations: 7.861 MB / 0.9218 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9399, allocations: 0 / 0.9218 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/0.9427, allocations: 0.5811 MB / 0.9224 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.9432, allocations: 80.72 kB / 0.9225 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.9434, allocations: 63.95 kB / 0.9225 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.9449, allocations: 1.726 MB / 0.9242 GB, free: 149 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.945, allocations: 0 / 0.9242 GB, free: 149 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.9521, allocations: 3.474 MB / 0.9276 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.9533, allocations: 0.7502 MB / 0.9283 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.9538, allocations: 71.11 kB / 0.9284 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/0.9564, allocations: 271.6 kB / 0.9287 GB, free: 144.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.9566, allocations: 149.7 kB / 0.9288 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.9568, allocations: 83.94 kB / 0.9289 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001663/0.9585, allocations: 1.482 MB / 0.9303 GB, free: 142.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9585, allocations: 0 / 0.9303 GB, free: 142.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00197/0.9605, allocations: 0.8716 MB / 0.9312 GB, free: 141.8 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.008452/0.9689, allocations: 4.618 MB / 0.9357 GB, free: 137.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.9762, allocations: 3.557 MB / 0.9392 GB, free: 133.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9762, allocations: 0 / 0.9392 GB, free: 133.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.9796, allocations: 1.79 MB / 0.9409 GB, free: 132 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.9816, allocations: 437.6 kB / 0.9413 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/1.019, allocations: 24.09 MB / 0.9649 GB, free: 107.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.021, allocations: 2.254 MB / 0.9671 GB, free: 104.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00265/1.023, allocations: 0.9222 MB / 0.968 GB, free: 103.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.025, allocations: 1.249 MB / 0.9692 GB, free: 102.7 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/1.025, allocations: 0 / 0.9692 GB, free: 102.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07496/1.1, allocations: 60.19 MB / 1.028 GB, free: 42.83 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.66, allocations: 9.469 kB / 1.028 GB, free: 42.83 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)