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.001264/0.001264, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.001426/0.001426, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.867/0.867, allocations: 133.9 MB / 442.8 MB, free: 11.33 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.001933/0.001933, allocations: 70.2 kB / 0.6134 GB, free: 8.789 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1945, allocations: 85.85 MB / 0.6972 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.0105/0.205, allocations: 7.033 MB / 0.7041 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5715/0.7765, allocations: 159.1 MB / 0.8595 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.7778, allocations: 43.69 kB / 0.8595 GB, free: 2.402 MB / 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.0008943/0.7787, allocations: 289.2 kB / 0.8598 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.7815, allocations: 0.7391 MB / 0.8605 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.7854, allocations: 1.309 MB / 0.8618 GB, free: 80 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005726/0.7911, allocations: 4.578 MB / 0.8663 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.7941, allocations: 1.952 MB / 0.8682 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.7977, allocations: 1.873 MB / 0.87 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.801, allocations: 1.793 MB / 0.8718 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009537/0.8019, allocations: 472 kB / 0.8722 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.8044, allocations: 1.116 MB / 0.8733 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.8055, allocations: 1.005 MB / 0.8743 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.8082, allocations: 1.886 MB / 0.8761 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007969/0.8161, allocations: 5.635 MB / 0.8816 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8161, allocations: 0 / 0.8816 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8161, allocations: 0 / 0.8816 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001764/0.8163, allocations: 7.938 kB / 0.8816 GB, free: 11.65 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.009886/0.8262, allocations: 4.02 MB / 0.8856 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8263, allocations: 9.109 kB / 0.8856 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006845/0.8269, allocations: 429.5 kB / 0.886 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.8435, allocations: 1.987 MB / 0.8879 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.8483, allocations: 2.197 MB / 0.8901 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.8486, allocations: 234 kB / 0.8903 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/0.8495, allocations: 295.9 kB / 0.8906 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.8606, allocations: 4.448 MB / 0.8949 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.8606, allocations: 4 kB / 0.8949 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/0.861, allocations: 120 kB / 0.895 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.8611, allocations: 76 kB / 0.8951 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.8753, allocations: 4.909 MB / 0.8999 GB, free: 8.684 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.0309/0.9062, allocations: 14.08 MB / 0.9137 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.919, allocations: 3.884 MB / 0.9174 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004761/0.9238, allocations: 1.564 MB / 0.919 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.9253, allocations: 1.077 MB / 0.92 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005889/0.9312, allocations: 2.031 MB / 0.922 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 5.971e-06/0.9312, allocations: 0 / 0.922 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01678/0.948, allocations: 5.243 MB / 0.9271 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.9481, allocations: 201.9 kB / 0.9273 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/0.9531, allocations: 1.998 MB / 0.9293 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008933/0.954, allocations: 73.69 kB / 0.9293 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.9558, allocations: 1.234 MB / 0.9305 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.9574, allocations: 0.7474 MB / 0.9313 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/0.9599, allocations: 0.5033 MB / 0.9318 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.96, allocations: 301.1 kB / 0.9321 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.9646, allocations: 1.55 MB / 0.9336 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.9696, allocations: 1.875 MB / 0.9354 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/0.9789, allocations: 3.392 MB / 0.9387 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.9789, allocations: 7.938 kB / 0.9387 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.0122/0.9911, allocations: 3.913 MB / 0.9425 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.9911, allocations: 8 kB / 0.9425 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.9911, allocations: 4 kB / 0.9426 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/0.9919, allocations: 100.9 kB / 0.9426 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/0.9958, allocations: 0.6824 MB / 0.9433 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.9986, allocations: 1.711 MB / 0.945 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/1.003, allocations: 432.2 kB / 0.9454 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/1.003, allocations: 123.9 kB / 0.9455 GB, free: 8.469 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.003171/1.006, allocations: 0.939 MB / 0.9464 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.008, allocations: 230.5 kB / 0.9467 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.021, allocations: 4.199 MB / 0.9508 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/1.021, allocations: 24 kB / 0.9508 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.021, allocations: 0 / 0.9508 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/1.021, allocations: 11.95 kB / 0.9508 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.042, allocations: 7.899 MB / 0.9585 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.042, allocations: 0 / 0.9585 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003358/1.045, allocations: 0.5811 MB / 0.9591 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/1.046, allocations: 80.78 kB / 0.9591 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/1.046, allocations: 67.89 kB / 0.9592 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/1.049, allocations: 1.721 MB / 0.9609 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.049, allocations: 1.484 kB / 0.9609 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.059, allocations: 3.478 MB / 0.9643 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.061, allocations: 0.7603 MB / 0.965 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000785/1.062, allocations: 67.77 kB / 0.9651 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.065, allocations: 271.6 kB / 0.9654 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.065, allocations: 145.8 kB / 0.9655 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/1.065, allocations: 79.95 kB / 0.9656 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003182/1.069, allocations: 1.539 MB / 0.9671 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.069, allocations: 0 / 0.9671 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003252/1.072, allocations: 0.8842 MB / 0.9679 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.01301/1.085, allocations: 4.628 MB / 0.9725 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.095, allocations: 3.436 MB / 0.9758 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.095, allocations: 3.984 kB / 0.9758 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/1.1, allocations: 1.693 MB / 0.9775 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.103, allocations: 440.8 kB / 0.9779 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05774/1.161, allocations: 24.36 MB / 1.002 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.163, allocations: 2.266 MB / 1.004 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003441/1.167, allocations: 0.9226 MB / 1.005 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/1.17, allocations: 1.268 MB / 1.006 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.204e-06/1.17, allocations: 0 / 1.006 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5113/1.681, allocations: 61.39 MB / 1.066 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.63, allocations: 6.781 kB / 1.066 GB, free: 300.7 MB / 0.8262 GB " [Timeout remaining time 642] (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: 21.582578407003894] Failed to read output from testmodel.py, exit status != 0: 17.86794464600098 17.890643142 17.070512156 Calling exit ...