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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9903/0.9903, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8002/0.8002, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 66.39 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5129, allocations: 102 MB / 0.8178 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007833/0.5207, allocations: 7.899 MB / 0.8255 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.6731, allocations: 159.5 MB / 0.9813 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.6744, allocations: 39.69 kB / 0.9813 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.6752, allocations: 324.9 kB / 0.9816 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.6774, allocations: 0.833 MB / 0.9825 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.6798, allocations: 1.389 MB / 0.9838 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004112/0.6839, allocations: 4.823 MB / 0.9885 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.6859, allocations: 1.597 MB / 0.9901 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.6887, allocations: 1.938 MB / 0.992 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.6907, allocations: 1.871 MB / 0.9938 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009122/0.6916, allocations: 488 kB / 0.9943 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.6934, allocations: 1.14 MB / 0.9954 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.694, allocations: 1.044 MB / 0.9964 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.6961, allocations: 1.967 MB / 0.9983 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.7016, allocations: 5.81 MB / 1.004 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7016, allocations: 4 kB / 1.004 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7016, allocations: 0 / 1.004 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.085e-05/0.7017, allocations: 0 / 1.004 GB, free: 6.766 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 780 * Number of variables: 780 Notification: Performance of Generate backend data structure: time 0.00606/0.7077, allocations: 4.065 MB / 1.008 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.7078, allocations: 8.031 kB / 1.008 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003921/0.7082, allocations: 429.9 kB / 1.008 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.7199, allocations: 3.521 MB / 1.012 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.7237, allocations: 2.223 MB / 1.014 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.7239, allocations: 234.1 kB / 1.014 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.7243, allocations: 300 kB / 1.015 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/0.7326, allocations: 5.41 MB / 1.02 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.7327, allocations: 4 kB / 1.02 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.7329, allocations: 124 kB / 1.02 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/0.7332, allocations: 72 kB / 1.02 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.7442, allocations: 6.611 MB / 1.026 GB, free: 15.55 MB / 0.8073 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.02043/0.7647, allocations: 17.05 MB / 1.043 GB, free: 13.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008925/0.7736, allocations: 4.864 MB / 1.048 GB, free: 8.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/0.778, allocations: 2.47 MB / 1.05 GB, free: 5.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.7783, allocations: 133.8 kB / 1.05 GB, free: 5.551 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005037/0.7834, allocations: 3.026 MB / 1.053 GB, free: 2.504 MB / 0.823 GB Notification: Performance of pre-optimization done (n=223): time 4.418e-06/0.7834, allocations: 0 / 1.053 GB, free: 2.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=223): time 0.01504/0.7984, allocations: 7.759 MB / 1.061 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.7985, allocations: 209.9 kB / 1.061 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.8011, allocations: 2.039 MB / 1.063 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.8014, allocations: 69.7 kB / 1.063 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/0.8023, allocations: 1.242 MB / 1.064 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000706/0.803, allocations: 0.7746 MB / 1.065 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007177/0.8038, allocations: 0.527 MB / 1.066 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.8038, allocations: 301.1 kB / 1.066 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/0.8084, allocations: 2.463 MB / 1.068 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004603/0.813, allocations: 2.784 MB / 1.071 GB, free: 104 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008653/0.8217, allocations: 4.875 MB / 1.076 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.8217, allocations: 4 kB / 1.076 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0105/0.8322, allocations: 5.587 MB / 1.081 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.8322, allocations: 11.98 kB / 1.081 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.8322, allocations: 7.938 kB / 1.081 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.8326, allocations: 93.22 kB / 1.081 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.8355, allocations: 1.026 MB / 1.082 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.837, allocations: 1.597 MB / 1.084 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.8398, allocations: 0.7479 MB / 1.085 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.8401, allocations: 127.8 kB / 1.085 GB, free: 1.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 21 (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.decAng.tNext,$PRE.sim.weaDat.decAng.tNext,sim.weaDat.eqnTim.tNext,$PRE.sim.weaDat.eqnTim.tNext,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,sim.weaDat.locTim.tNext,$PRE.sim.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 276 * 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.001954/0.8421, allocations: 0.9533 MB / 1.086 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/0.8427, allocations: 234.5 kB / 1.086 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.853, allocations: 5.956 MB / 1.092 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.853, allocations: 31.92 kB / 1.092 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.853, allocations: 0 / 1.092 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.853, allocations: 15.95 kB / 1.092 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.869, allocations: 10.9 MB / 1.102 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.869, allocations: 7.984 kB / 1.102 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/0.8713, allocations: 0.8934 MB / 1.103 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.8716, allocations: 84.78 kB / 1.103 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.8718, allocations: 67.94 kB / 1.103 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.8731, allocations: 1.621 MB / 1.105 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8731, allocations: 0 / 1.105 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009397/0.8825, allocations: 5.18 MB / 1.11 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.8844, allocations: 0.7772 MB / 1.111 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/0.8848, allocations: 67.77 kB / 1.111 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/0.887, allocations: 0.5837 MB / 1.112 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.8873, allocations: 165.7 kB / 1.112 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.8874, allocations: 87.94 kB / 1.112 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002122/0.8895, allocations: 1.559 MB / 1.113 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8895, allocations: 4 kB / 1.113 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002103/0.8916, allocations: 0.935 MB / 1.114 GB, free: 3.023 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.locTim.tNext,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext) * Number of discrete states: 5 (sim.weaDat.locTim.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0105/0.9021, allocations: 6.312 MB / 1.12 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.9122, allocations: 5.279 MB / 1.126 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9122, allocations: 0 / 1.126 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004979/0.9172, allocations: 2.606 MB / 1.128 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.919, allocations: 469.1 kB / 1.129 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3947/1.314, allocations: 30.01 MB / 1.158 GB, free: 299 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/1.316, allocations: 2.297 MB / 1.16 GB, free: 298 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003231/1.319, allocations: 0.9664 MB / 1.161 GB, free: 297.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/1.321, allocations: 1.311 MB / 1.162 GB, free: 296.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.974e-06/1.321, allocations: 0 / 1.162 GB, free: 296.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08818/1.409, allocations: 67.68 MB / 1.228 GB, free: 250.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.57, allocations: 3.938 kB / 1.228 GB, free: 250.4 MB / 0.9167 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez_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_SimInfoManagerPerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.83195862104185] Failed to read output from testmodel.py, exit status != 0: 12.740281113889068 12.747134924 12.042521781 Calling exit ...