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.001277/0.001277, allocations: 107.6 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.001339/0.001339, allocations: 213.7 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 / 442.8 MB, free: 11.28 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.001997/0.001997, allocations: 63.28 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1882, allocations: 85.86 MB / 0.6972 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.01014/0.1983, allocations: 7.024 MB / 0.7041 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5256/0.7239, allocations: 159.1 MB / 0.8595 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.725, allocations: 39.69 kB / 0.8595 GB, free: 2.305 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.0008594/0.7259, allocations: 301.1 kB / 0.8598 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.7281, allocations: 0.7408 MB / 0.8605 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.7311, allocations: 1.296 MB / 0.8618 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.7364, allocations: 4.575 MB / 0.8663 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.7393, allocations: 1.956 MB / 0.8682 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.7427, allocations: 1.881 MB / 0.87 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.7453, allocations: 1.797 MB / 0.8718 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009575/0.7462, allocations: 468 kB / 0.8722 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.7487, allocations: 1.109 MB / 0.8733 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.7498, allocations: 1.005 MB / 0.8743 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002271/0.7521, allocations: 1.897 MB / 0.8761 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007973/0.7601, allocations: 5.635 MB / 0.8816 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7601, allocations: 0 / 0.8816 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7601, allocations: 0 / 0.8816 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001409/0.7602, allocations: 0 / 0.8816 GB, free: 11.55 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.01106/0.7713, allocations: 4.018 MB / 0.8855 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.7713, allocations: 9.109 kB / 0.8856 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007252/0.7721, allocations: 429.5 kB / 0.886 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.7882, allocations: 1.987 MB / 0.8879 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.7932, allocations: 2.208 MB / 0.8901 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.7934, allocations: 222 kB / 0.8903 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000602/0.794, allocations: 292 kB / 0.8906 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009876/0.8039, allocations: 4.456 MB / 0.8949 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.8039, allocations: 0 / 0.8949 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.8043, allocations: 128 kB / 0.895 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.8043, allocations: 72 kB / 0.8951 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.8165, allocations: 4.913 MB / 0.8999 GB, free: 8.578 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.02585/0.8423, allocations: 14.08 MB / 0.9136 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.8545, allocations: 3.89 MB / 0.9174 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0044/0.8589, allocations: 1.56 MB / 0.919 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.8603, allocations: 1.073 MB / 0.92 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005417/0.8658, allocations: 2.031 MB / 0.922 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 3.857e-06/0.8658, allocations: 0 / 0.922 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.015/0.8808, allocations: 5.243 MB / 0.9271 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.8809, allocations: 205.9 kB / 0.9273 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.884, allocations: 2.002 MB / 0.9293 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/0.8844, allocations: 65.7 kB / 0.9293 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.8856, allocations: 1.23 MB / 0.9305 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009021/0.8865, allocations: 0.7513 MB / 0.9313 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009617/0.8874, allocations: 0.4994 MB / 0.9318 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8876, allocations: 305.1 kB / 0.932 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/0.8916, allocations: 1.562 MB / 0.9336 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/0.8961, allocations: 1.858 MB / 0.9354 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008572/0.9047, allocations: 3.405 MB / 0.9387 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.9047, allocations: 0 / 0.9387 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01063/0.9153, allocations: 3.922 MB / 0.9425 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.9154, allocations: 4 kB / 0.9425 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9154, allocations: 8 kB / 0.9426 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.916, allocations: 97.23 kB / 0.9426 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.9198, allocations: 0.6863 MB / 0.9433 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.9222, allocations: 1.694 MB / 0.945 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.9259, allocations: 438.1 kB / 0.9454 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/0.9265, allocations: 119.9 kB / 0.9455 GB, free: 8.371 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.002094/0.9286, allocations: 0.9402 MB / 0.9464 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007583/0.9293, allocations: 234.5 kB / 0.9466 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9406, allocations: 4.203 MB / 0.9507 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.9406, allocations: 24 kB / 0.9508 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.9406, allocations: 0 / 0.9508 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.9407, allocations: 15.95 kB / 0.9508 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.9567, allocations: 7.888 MB / 0.9585 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9567, allocations: 8 kB / 0.9585 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/0.9599, allocations: 0.5733 MB / 0.9591 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.9604, allocations: 80.78 kB / 0.9591 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.9606, allocations: 75.88 kB / 0.9592 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.9628, allocations: 1.709 MB / 0.9609 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9628, allocations: 3.938 kB / 0.9609 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009016/0.9718, allocations: 3.474 MB / 0.9643 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.9734, allocations: 0.7642 MB / 0.965 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004433/0.9738, allocations: 63.78 kB / 0.9651 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/0.9764, allocations: 271.6 kB / 0.9653 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.9767, allocations: 153.7 kB / 0.9655 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.9769, allocations: 79.95 kB / 0.9656 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002502/0.9794, allocations: 1.535 MB / 0.9671 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9794, allocations: 0 / 0.9671 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00264/0.9821, allocations: 0.8764 MB / 0.9679 GB, free: 1.008 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.01126/0.9933, allocations: 4.642 MB / 0.9724 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.003, allocations: 3.44 MB / 0.9758 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.003, allocations: 0 / 0.9758 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.007, allocations: 1.681 MB / 0.9774 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.01, allocations: 452.2 kB / 0.9779 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05474/1.064, allocations: 24.36 MB / 1.002 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.067, allocations: 2.262 MB / 1.004 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003511/1.07, allocations: 0.9306 MB / 1.005 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/1.073, allocations: 1.272 MB / 1.006 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/1.073, allocations: 0 / 1.006 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5007/1.573, allocations: 61.36 MB / 1.066 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.6, allocations: 8.422 kB / 1.066 GB, free: 300.7 MB / 0.8262 GB " [Timeout remaining time 642] (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: 21.45654333999846] Failed to read output from testmodel.py, exit status != 0: 17.830302900998504 17.852978259 17.088802521 Calling exit ...