Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",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.001191/0.001191, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001189/0.001189, allocations: 191 kB / 16.25 MB, free: 6.637 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.823/0.823, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.61 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 80.92 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007865/0.1372, allocations: 6.921 MB / 0.5907 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3663/0.5036, allocations: 153.4 MB / 0.7405 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.5046, allocations: 32.78 kB / 0.7406 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.5055, allocations: 212.4 kB / 0.7408 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.5076, allocations: 0.6249 MB / 0.7414 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.5102, allocations: 1.156 MB / 0.7425 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004359/0.5146, allocations: 4.581 MB / 0.747 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.5179, allocations: 2.865 MB / 0.7498 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.5208, allocations: 1.761 MB / 0.7515 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.5226, allocations: 1.778 MB / 0.7532 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.523, allocations: 464 kB / 0.7537 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5246, allocations: 1.038 MB / 0.7547 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.5254, allocations: 0.9932 MB / 0.7557 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.527, allocations: 1.882 MB / 0.7575 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.5316, allocations: 5.395 MB / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5316, allocations: 0 / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5316, allocations: 0 / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.228e-05/0.5316, allocations: 4 kB / 0.7628 GB, free: 6.07 MB / 0.5762 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.00647/0.5381, allocations: 3.857 MB / 0.7665 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5382, allocations: 8.031 kB / 0.7666 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00048/0.5386, allocations: 429.5 kB / 0.767 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009473/0.5481, allocations: 1.287 MB / 0.7682 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.5511, allocations: 2.089 MB / 0.7703 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.5513, allocations: 230 kB / 0.7705 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.5517, allocations: 292 kB / 0.7708 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008116/0.5598, allocations: 4.452 MB / 0.7751 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.5599, allocations: 7.938 kB / 0.7751 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.5602, allocations: 132 kB / 0.7752 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.5603, allocations: 72 kB / 0.7753 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.5704, allocations: 4.874 MB / 0.7801 GB, free: 4.105 MB / 0.5919 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.02003/0.5904, allocations: 14.14 MB / 0.7939 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.6006, allocations: 4.043 MB / 0.7978 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.6041, allocations: 1.67 MB / 0.7995 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.6052, allocations: 1.073 MB / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004147/0.6094, allocations: 2.027 MB / 0.8025 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 3.417e-06/0.6094, allocations: 7.938 kB / 0.8025 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.01303/0.6225, allocations: 5.218 MB / 0.8076 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.6226, allocations: 201.9 kB / 0.8078 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.625, allocations: 1.935 MB / 0.8097 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.6252, allocations: 61.7 kB / 0.8097 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.6262, allocations: 1.176 MB / 0.8109 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.6268, allocations: 0.7201 MB / 0.8116 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008465/0.6276, allocations: 0.5146 MB / 0.8121 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.6277, allocations: 301.1 kB / 0.8124 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.6314, allocations: 1.554 MB / 0.8139 GB, free: 364 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/0.6353, allocations: 1.866 MB / 0.8157 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007483/0.6428, allocations: 3.396 MB / 0.819 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6428, allocations: 0 / 0.819 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009409/0.6522, allocations: 3.896 MB / 0.8228 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6522, allocations: 8.469 kB / 0.8228 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6522, allocations: 8 kB / 0.8228 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.6529, allocations: 96.7 kB / 0.8229 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.6564, allocations: 0.6864 MB / 0.8236 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.6585, allocations: 1.708 MB / 0.8253 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.6617, allocations: 425.6 kB / 0.8257 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.6619, allocations: 119.8 kB / 0.8258 GB, free: 3.82 MB / 0.6387 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.001593/0.6635, allocations: 0.9322 MB / 0.8267 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.664, allocations: 213.3 kB / 0.8269 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009855/0.6739, allocations: 4.194 MB / 0.831 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.6739, allocations: 28 kB / 0.831 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6739, allocations: 0 / 0.831 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.6739, allocations: 11.95 kB / 0.831 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.6873, allocations: 7.906 MB / 0.8388 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6873, allocations: 3.938 kB / 0.8388 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/0.6903, allocations: 0.5773 MB / 0.8393 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.6908, allocations: 84.78 kB / 0.8394 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.691, allocations: 67.83 kB / 0.8395 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.6929, allocations: 1.72 MB / 0.8412 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6929, allocations: 0 / 0.8412 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007942/0.7008, allocations: 3.461 MB / 0.8445 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.7021, allocations: 0.7436 MB / 0.8453 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.7025, allocations: 63.69 kB / 0.8453 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/0.705, allocations: 279.5 kB / 0.8456 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.7053, allocations: 141.8 kB / 0.8457 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.7055, allocations: 83.94 kB / 0.8458 GB, free: 14.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002036/0.7075, allocations: 1.482 MB / 0.8473 GB, free: 13.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7075, allocations: 0 / 0.8473 GB, free: 13.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002093/0.7096, allocations: 0.8682 MB / 0.8481 GB, free: 12.55 MB / 0.67 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.009266/0.7189, allocations: 4.602 MB / 0.8526 GB, free: 8.137 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01456/0.7335, allocations: 5.897 MB / 0.8584 GB, free: 2.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7335, allocations: 3.984 kB / 0.8584 GB, free: 2.227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.7372, allocations: 1.79 MB / 0.8601 GB, free: 432 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.7392, allocations: 443.4 kB / 0.8605 GB, free: 8 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2638/1.003, allocations: 27.32 MB / 0.8872 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.004, allocations: 2.25 MB / 0.8894 GB, free: 203.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003228/1.008, allocations: 0.909 MB / 0.8903 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.01, allocations: 1.251 MB / 0.8915 GB, free: 202.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/1.01, allocations: 4 kB / 0.8915 GB, free: 202.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/2.188, allocations: 59.24 MB / 0.9494 GB, free: 172.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/2.188, allocations: 284.2 kB / 0.9497 GB, free: 171.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/5.333, allocations: 1.641 kB / 0.9497 GB, free: 171.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)