Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_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.001025/0.001025, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7118/0.7118, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.48 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3259, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007166/0.3331, allocations: 6.958 MB / 0.587 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1535/0.4867, allocations: 155.7 MB / 0.7391 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4879, allocations: 27.88 kB / 0.7391 GB, free: 14.26 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.4886, allocations: 285.2 kB / 0.7394 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.4903, allocations: 0.7197 MB / 0.7401 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.4926, allocations: 1.273 MB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003446/0.496, allocations: 4.54 MB / 0.7457 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.4987, allocations: 2.689 MB / 0.7484 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.501, allocations: 1.74 MB / 0.7501 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.5025, allocations: 1.783 MB / 0.7518 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.503, allocations: 468 kB / 0.7522 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.5046, allocations: 1.038 MB / 0.7533 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.5053, allocations: 0.9931 MB / 0.7542 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.507, allocations: 1.886 MB / 0.7561 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.5114, allocations: 5.423 MB / 0.7614 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5115, allocations: 4 kB / 0.7614 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5115, allocations: 0 / 0.7614 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.251e-05/0.5115, allocations: 0 / 0.7614 GB, free: 7.324 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.006575/0.5181, allocations: 3.884 MB / 0.7652 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5181, allocations: 12.03 kB / 0.7652 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004564/0.5186, allocations: 421.6 kB / 0.7656 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008727/0.5273, allocations: 1.287 MB / 0.7668 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.5302, allocations: 2.14 MB / 0.7689 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5303, allocations: 234 kB / 0.7691 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.5308, allocations: 292 kB / 0.7694 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.5382, allocations: 4.46 MB / 0.7738 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.5383, allocations: 0 / 0.7738 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.5386, allocations: 124 kB / 0.7739 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.5386, allocations: 76 kB / 0.774 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009735/0.5484, allocations: 4.917 MB / 0.7788 GB, free: 5.234 MB / 0.6075 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.0185/0.5669, allocations: 14.14 MB / 0.7926 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009713/0.5766, allocations: 4.047 MB / 0.7965 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.58, allocations: 1.67 MB / 0.7982 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.5811, allocations: 1.073 MB / 0.7992 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003916/0.585, allocations: 2.035 MB / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.858e-06/0.585, allocations: 0 / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01242/0.5974, allocations: 5.226 MB / 0.8063 GB, free: 8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.5976, allocations: 213.9 kB / 0.8065 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.6002, allocations: 1.969 MB / 0.8084 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.6004, allocations: 61.7 kB / 0.8085 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/0.6014, allocations: 1.2 MB / 0.8097 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006072/0.602, allocations: 0.7161 MB / 0.8104 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.6028, allocations: 0.4953 MB / 0.8108 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.6029, allocations: 309 kB / 0.8111 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/0.6064, allocations: 1.55 MB / 0.8127 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2374/0.8439, allocations: 1.873 MB / 0.8145 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008792/0.8527, allocations: 3.393 MB / 0.8178 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.8527, allocations: 4.844 kB / 0.8178 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.0114/0.8641, allocations: 3.898 MB / 0.8216 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.8642, allocations: 9.406 kB / 0.8216 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8642, allocations: 5.312 kB / 0.8216 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.8648, allocations: 93.83 kB / 0.8217 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/0.8685, allocations: 0.6864 MB / 0.8224 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.8703, allocations: 1.702 MB / 0.824 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.8735, allocations: 431.9 kB / 0.8245 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.8739, allocations: 120.2 kB / 0.8246 GB, free: 210.8 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.002026/0.8759, allocations: 0.9394 MB / 0.8255 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.8767, allocations: 220.8 kB / 0.8257 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.8868, allocations: 4.202 MB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.8868, allocations: 27.78 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.8868, allocations: 6.188 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.8868, allocations: 13.73 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.9002, allocations: 7.899 MB / 0.8376 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.9002, allocations: 0 / 0.8376 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/0.903, allocations: 0.5805 MB / 0.8381 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.9035, allocations: 84.47 kB / 0.8382 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/0.9037, allocations: 59.67 kB / 0.8383 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.9052, allocations: 1.728 MB / 0.84 GB, free: 203 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9052, allocations: 1.219 kB / 0.84 GB, free: 203 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.9124, allocations: 3.463 MB / 0.8433 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9134, allocations: 0.7473 MB / 0.8441 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.9139, allocations: 58.66 kB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/0.9162, allocations: 269.9 kB / 0.8444 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.9165, allocations: 149.6 kB / 0.8445 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.9167, allocations: 87.12 kB / 0.8446 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001761/0.9184, allocations: 1.514 MB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9184, allocations: 0 / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001896/0.9203, allocations: 0.8654 MB / 0.8469 GB, free: 199.2 MB / 0.6387 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.007785/0.9281, allocations: 4.605 MB / 0.8514 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01195/0.9401, allocations: 5.894 MB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9401, allocations: 7.938 kB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.9432, allocations: 1.79 MB / 0.8589 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.9449, allocations: 437.6 kB / 0.8594 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.9822, allocations: 26.31 MB / 0.885 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.9836, allocations: 2.277 MB / 0.8873 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003026/0.9867, allocations: 0.9379 MB / 0.8882 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.9885, allocations: 1.261 MB / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.9885, allocations: 0 / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07828/1.067, allocations: 59.93 MB / 0.9479 GB, free: 96.01 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.21, allocations: 3.938 kB / 0.948 GB, free: 96 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)