Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.001294/0.001294, allocations: 110.6 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.001444/0.001444, allocations: 220.5 kB / 22.26 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8 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.8397/0.8397, allocations: 134 MB / 446.4 MB, free: 10.27 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.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",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.001939/0.001939, allocations: 66.34 kB / 0.6185 GB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 85.91 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.01006/0.1828, allocations: 7.08 MB / 0.7093 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5719/0.7547, allocations: 159.3 MB / 0.8649 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.7567, allocations: 43.69 kB / 0.8649 GB, free: 252 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.001199/0.7579, allocations: 302 kB / 0.8652 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.761, allocations: 0.7334 MB / 0.8659 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.7646, allocations: 1.335 MB / 0.8672 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005707/0.7703, allocations: 4.57 MB / 0.8717 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.7731, allocations: 1.586 MB / 0.8732 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.7768, allocations: 1.866 MB / 0.8751 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.7799, allocations: 1.801 MB / 0.8768 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009802/0.7809, allocations: 472 kB / 0.8773 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.7836, allocations: 1.113 MB / 0.8784 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.7846, allocations: 1.001 MB / 0.8793 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.787, allocations: 1.897 MB / 0.8812 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.7939, allocations: 5.635 MB / 0.8867 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.794, allocations: 4 kB / 0.8867 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.684e-06/0.794, allocations: 0 / 0.8867 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001455/0.7941, allocations: 0 / 0.8867 GB, free: 9.844 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.009451/0.8036, allocations: 3.945 MB / 0.8905 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8036, allocations: 12.03 kB / 0.8906 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006103/0.8042, allocations: 425.5 kB / 0.891 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.8197, allocations: 1.991 MB / 0.8929 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.8246, allocations: 2.156 MB / 0.895 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.8248, allocations: 234 kB / 0.8952 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005944/0.8254, allocations: 292 kB / 0.8955 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009167/0.8346, allocations: 4.456 MB / 0.8999 GB, free: 12.13 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.8346, allocations: 7.938 kB / 0.8999 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.8349, allocations: 124 kB / 0.9 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.835, allocations: 72 kB / 0.9001 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.8462, allocations: 4.909 MB / 0.9049 GB, free: 7.008 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.02576/0.8719, allocations: 14.02 MB / 0.9185 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.8825, allocations: 3.889 MB / 0.9223 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004033/0.8865, allocations: 1.564 MB / 0.9239 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008421/0.8873, allocations: 189.7 kB / 0.9241 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004811/0.8921, allocations: 2.035 MB / 0.926 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 6.112e-06/0.8921, allocations: 0 / 0.926 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01401/0.9062, allocations: 5.164 MB / 0.9311 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.9063, allocations: 217.8 kB / 0.9313 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.9096, allocations: 2.002 MB / 0.9332 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004437/0.9101, allocations: 61.7 kB / 0.9333 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.9113, allocations: 1.23 MB / 0.9345 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.9123, allocations: 0.7513 MB / 0.9352 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009275/0.9133, allocations: 0.5033 MB / 0.9357 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9134, allocations: 305.1 kB / 0.936 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/0.9171, allocations: 1.554 MB / 0.9375 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/0.9215, allocations: 1.866 MB / 0.9394 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008091/0.9296, allocations: 3.397 MB / 0.9427 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9296, allocations: 4 kB / 0.9427 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01007/0.9396, allocations: 3.912 MB / 0.9465 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.9397, allocations: 8 kB / 0.9465 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.9397, allocations: 4 kB / 0.9465 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.9404, allocations: 101.2 kB / 0.9466 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.944, allocations: 0.6824 MB / 0.9473 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.9463, allocations: 1.605 MB / 0.9488 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.9498, allocations: 434.1 kB / 0.9493 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/0.9502, allocations: 127.8 kB / 0.9494 GB, free: 8.164 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.002169/0.9524, allocations: 0.9245 MB / 0.9503 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.9532, allocations: 234.5 kB / 0.9505 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.9641, allocations: 4.203 MB / 0.9546 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.9641, allocations: 20 kB / 0.9546 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.9641, allocations: 8 kB / 0.9546 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.9641, allocations: 15.89 kB / 0.9547 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.9802, allocations: 7.871 MB / 0.9623 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9802, allocations: 0 / 0.9623 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/0.9833, allocations: 0.5734 MB / 0.9629 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.9838, allocations: 84.72 kB / 0.963 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.984, allocations: 67.89 kB / 0.963 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.9861, allocations: 1.618 MB / 0.9646 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.9861, allocations: 0 / 0.9646 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/0.9947, allocations: 3.482 MB / 0.968 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/0.9967, allocations: 0.7069 MB / 0.9687 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006371/0.9973, allocations: 55.84 kB / 0.9688 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/0.9999, allocations: 277.9 kB / 0.969 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/1, allocations: 161.6 kB / 0.9692 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.001, allocations: 75.95 kB / 0.9693 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003099/1.004, allocations: 1.539 MB / 0.9708 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 0 / 0.9708 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003003/1.007, allocations: 0.8764 MB / 0.9716 GB, free: 1.023 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.01181/1.018, allocations: 4.633 MB / 0.9761 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009201/1.028, allocations: 3.444 MB / 0.9795 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.028, allocations: 0 / 0.9795 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/1.032, allocations: 1.681 MB / 0.9811 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.035, allocations: 445.9 kB / 0.9816 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05489/1.089, allocations: 24.4 MB / 1.005 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.092, allocations: 2.263 MB / 1.008 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003737/1.096, allocations: 0.9342 MB / 1.009 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/1.099, allocations: 1.272 MB / 1.01 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/1.099, allocations: 0 / 1.01 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4676/1.567, allocations: 63.24 MB / 1.072 GB, free: 300.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/18.44, allocations: 13.95 kB / 1.072 GB, free: 300.6 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.319719349005027] Failed to read output from testmodel.py, exit status != 0: 18.69400212400069 18.708080153 17.911245037 Calling exit ...