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.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.001382/0.001382, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001484/0.001484, allocations: 218.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8457/0.8457, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.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_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"}) [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.001974/0.001974, allocations: 68.22 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1784, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.0133/0.1918, allocations: 7.067 MB / 0.7093 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.591/0.7828, allocations: 159.3 MB / 0.8649 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.7841, allocations: 43.69 kB / 0.8649 GB, free: 340 kB / 0.6231 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.0009229/0.785, allocations: 301.1 kB / 0.8652 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.7876, allocations: 0.7398 MB / 0.8659 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.7908, allocations: 1.324 MB / 0.8672 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005702/0.7965, allocations: 4.574 MB / 0.8717 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.7991, allocations: 1.59 MB / 0.8732 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.8027, allocations: 1.876 MB / 0.8751 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.806, allocations: 1.793 MB / 0.8768 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.8071, allocations: 472 kB / 0.8773 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.8097, allocations: 1.116 MB / 0.8784 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.8108, allocations: 1.009 MB / 0.8793 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.8133, allocations: 1.893 MB / 0.8812 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.8207, allocations: 5.627 MB / 0.8867 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8207, allocations: 0 / 0.8867 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8207, allocations: 0 / 0.8867 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001617/0.8208, allocations: 0 / 0.8867 GB, free: 9.934 MB / 0.6544 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.00898/0.8298, allocations: 3.957 MB / 0.8906 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8299, allocations: 8.031 kB / 0.8906 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005897/0.8305, allocations: 425.5 kB / 0.891 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.8459, allocations: 1.987 MB / 0.8929 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/0.8513, allocations: 2.16 MB / 0.895 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.8516, allocations: 237.9 kB / 0.8952 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/0.8524, allocations: 292 kB / 0.8955 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.8631, allocations: 4.458 MB / 0.8999 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.8631, allocations: 0 / 0.8999 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.8635, allocations: 124 kB / 0.9 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.8636, allocations: 76 kB / 0.9001 GB, free: 12.01 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.8754, allocations: 4.909 MB / 0.9049 GB, free: 7.09 MB / 0.67 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.02631/0.9017, allocations: 14.02 MB / 0.9186 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.9125, allocations: 3.895 MB / 0.9224 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004156/0.9167, allocations: 1.562 MB / 0.9239 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.9176, allocations: 181.8 kB / 0.9241 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/0.9228, allocations: 2.031 MB / 0.926 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 5.019e-06/0.9228, allocations: 0 / 0.926 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.0137/0.9365, allocations: 5.167 MB / 0.9311 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.9366, allocations: 209.9 kB / 0.9313 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.9395, allocations: 1.998 MB / 0.9332 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.9398, allocations: 73.7 kB / 0.9333 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.9409, allocations: 1.227 MB / 0.9345 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.9417, allocations: 0.7552 MB / 0.9352 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000844/0.9425, allocations: 0.4994 MB / 0.9357 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9427, allocations: 301.1 kB / 0.936 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/0.9463, allocations: 1.558 MB / 0.9375 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00403/0.9503, allocations: 1.866 MB / 0.9394 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/0.9582, allocations: 3.397 MB / 0.9427 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.9582, allocations: 0 / 0.9427 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01001/0.9682, allocations: 3.92 MB / 0.9465 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.9683, allocations: 8 kB / 0.9465 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.9683, allocations: 4 kB / 0.9465 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.9689, allocations: 100.8 kB / 0.9466 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/0.9725, allocations: 0.6824 MB / 0.9473 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.9748, allocations: 1.604 MB / 0.9488 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/0.9782, allocations: 434.2 kB / 0.9493 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.9786, allocations: 119.9 kB / 0.9494 GB, free: 8.262 MB / 0.7169 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.001905/0.9805, allocations: 0.9439 MB / 0.9503 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/0.9812, allocations: 230.5 kB / 0.9505 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.9913, allocations: 4.201 MB / 0.9546 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.9913, allocations: 24 kB / 0.9546 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9914, allocations: 0 / 0.9546 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.9914, allocations: 11.95 kB / 0.9547 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.007, allocations: 7.871 MB / 0.9623 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.007, allocations: 0 / 0.9623 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.01, allocations: 0.5772 MB / 0.9629 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/1.01, allocations: 88.7 kB / 0.963 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/1.01, allocations: 67.83 kB / 0.9631 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/1.013, allocations: 1.618 MB / 0.9646 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.013, allocations: 0 / 0.9646 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008039/1.021, allocations: 3.482 MB / 0.968 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.022, allocations: 0.7069 MB / 0.9687 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/1.023, allocations: 59.84 kB / 0.9688 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.025, allocations: 273.8 kB / 0.969 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/1.026, allocations: 153.7 kB / 0.9692 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.026, allocations: 79.95 kB / 0.9693 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002352/1.028, allocations: 1.543 MB / 0.9708 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 0 / 0.9708 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002447/1.031, allocations: 0.8842 MB / 0.9716 GB, free: 1.094 MB / 0.7325 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.0104/1.041, allocations: 4.62 MB / 0.9761 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008429/1.049, allocations: 3.44 MB / 0.9795 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.049, allocations: 4 kB / 0.9795 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/1.053, allocations: 1.688 MB / 0.9812 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.055, allocations: 447 kB / 0.9816 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05118/1.107, allocations: 24.39 MB / 1.005 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/1.109, allocations: 2.267 MB / 1.008 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003217/1.112, allocations: 0.9226 MB / 1.009 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.114, allocations: 1.272 MB / 1.01 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of SimCode: time 7.01e-07/1.114, allocations: 3.938 kB / 1.01 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/1.64, allocations: 63.24 MB / 1.072 GB, free: 300.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/18.51, allocations: 7.516 kB / 1.072 GB, free: 300.8 MB / 0.8262 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.295374956003798] Failed to read output from testmodel.py, exit status != 0: 18.759022439000546 18.7776214 17.952848474 Calling exit ...