Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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.0007962/0.0007962, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8551/0.8551, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.0009223/0.0009223, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2564/0.2564, allocations: 80.35 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.114e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005112/0.005133, allocations: 6.138 MB / 0.5609 GB, free: 6.453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.008796, allocations: 2.208 MB / 0.5631 GB, free: 4.242 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.009537, allocations: 16 kB / 0.5631 GB, free: 4.227 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.01004, allocations: 261.7 kB / 0.5633 GB, free: 3.969 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.01182, allocations: 0.9945 MB / 0.5643 GB, free: 2.969 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.01264, allocations: 0.5867 MB / 0.5649 GB, free: 2.387 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.01431, allocations: 1.897 MB / 0.5667 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.01474, allocations: 165.5 kB / 0.5669 GB, free: 304 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.01592, allocations: 1.044 MB / 0.5679 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.01669, allocations: 0.8218 MB / 0.5687 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.01693, allocations: 156 kB / 0.5689 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.01742, allocations: 331.6 kB / 0.5692 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.01762, allocations: 406.4 kB / 0.5696 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.01806, allocations: 0.5335 MB / 0.5701 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.0196, allocations: 1.955 MB / 0.572 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01961, allocations: 0 / 0.572 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01961, allocations: 4 kB / 0.572 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.01965, allocations: 3.938 kB / 0.572 GB, free: 11.05 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00658/0.02623, allocations: 3.291 MB / 0.5752 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.02628, allocations: 12.03 kB / 0.5752 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.0264, allocations: 118.7 kB / 0.5753 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.02798, allocations: 0.5305 MB / 0.5759 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.02913, allocations: 0.9171 MB / 0.5768 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.02935, allocations: 290.4 kB / 0.577 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.02948, allocations: 91.95 kB / 0.5771 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.03079, allocations: 0.9911 MB / 0.5781 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.03081, allocations: 4 kB / 0.5781 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.03087, allocations: 32 kB / 0.5781 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.03088, allocations: 16 kB / 0.5781 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.03242, allocations: 1.105 MB / 0.5792 GB, free: 3.516 MB / 0.4948 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.004069/0.03648, allocations: 2.731 MB / 0.5819 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.0382, allocations: 1.163 MB / 0.583 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/0.03907, allocations: 0.6597 MB / 0.5837 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.03915, allocations: 20.98 kB / 0.5837 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.03918, allocations: 43.56 kB / 0.5837 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=105): time 3.006e-06/0.03918, allocations: 0 / 0.5837 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=105): time 0.01365/0.05284, allocations: 6.424 MB / 0.59 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.05288, allocations: 60.41 kB / 0.5901 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.05429, allocations: 1.283 MB / 0.5913 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.05449, allocations: 49.7 kB / 0.5914 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.05477, allocations: 490.3 kB / 0.5918 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.0551, allocations: 416.5 kB / 0.5922 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.05552, allocations: 383.4 kB / 0.5926 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.05558, allocations: 301.1 kB / 0.5929 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.05687, allocations: 0.9644 MB / 0.5938 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.05821, allocations: 1.117 MB / 0.5949 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.06093, allocations: 1.958 MB / 0.5968 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.06093, allocations: 0 / 0.5968 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.1907/0.2516, allocations: 3.284 MB / 0.6 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2516, allocations: 6.25 kB / 0.6 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2517, allocations: 7.266 kB / 0.6 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/0.2563, allocations: 2.328 MB / 0.6023 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2574, allocations: 357.4 kB / 0.6027 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.2603, allocations: 2.31 MB / 0.6049 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2617, allocations: 222.3 kB / 0.6051 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2618, allocations: 65.12 kB / 0.6052 GB, free: 91.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0003745/0.2622, allocations: 260.4 kB / 0.6054 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.2624, allocations: 144.4 kB / 0.6056 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.2681, allocations: 3.39 MB / 0.6089 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.2681, allocations: 10.78 kB / 0.6089 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.2681, allocations: 0 / 0.6089 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.2681, allocations: 5.812 kB / 0.6089 GB, free: 90.11 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.007937/0.2761, allocations: 4.447 MB / 0.6132 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.2761, allocations: 1.875 kB / 0.6132 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.2766, allocations: 134.9 kB / 0.6134 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/0.2798, allocations: 1.492 MB / 0.6148 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.2799, allocations: 28.22 kB / 0.6149 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.2917, allocations: 7.716 MB / 0.6224 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2917, allocations: 5.875 kB / 0.6224 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/0.2993, allocations: 4.315 MB / 0.6266 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.2997, allocations: 186 kB / 0.6268 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.2998, allocations: 21.78 kB / 0.6268 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.3005, allocations: 95.75 kB / 0.6269 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.3009, allocations: 191.4 kB / 0.6271 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.3009, allocations: 29.95 kB / 0.6271 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000798/0.3017, allocations: 0.8468 MB / 0.6279 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3017, allocations: 0 / 0.6279 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001182/0.3029, allocations: 487.7 kB / 0.6284 GB, free: 82.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007032/0.31, allocations: 4.799 MB / 0.6331 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004161/0.3141, allocations: 2.341 MB / 0.6354 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3141, allocations: 0 / 0.6354 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.3164, allocations: 1.33 MB / 0.6367 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.3173, allocations: 109.8 kB / 0.6368 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.3341, allocations: 14.18 MB / 0.6506 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3344, allocations: 0.5254 MB / 0.6511 GB, free: 66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004328/0.3348, allocations: 124.9 kB / 0.6513 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.3352, allocations: 0.4925 MB / 0.6517 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/0.3352, allocations: 0 / 0.6517 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3777, allocations: 37.83 MB / 0.6887 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/8.882, allocations: 14.73 kB / 0.6887 GB, free: 27.79 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.146466753445566] Failed to read output from testmodel.py, exit status != 0: 8.984183824621141 8.989811392 8.968908254 Calling exit ...