Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.0008319/0.0008319, 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.8631/0.8631, 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.001051/0.001051, allocations: 155.4 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.2547/0.2547, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] 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.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5549 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.966e-05, allocations: 4.359 kB / 0.5549 GB, free: 12.27 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.004943/0.004963, allocations: 7.169 MB / 0.5619 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.007872, allocations: 2.53 MB / 0.5644 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.008266, allocations: 12 kB / 0.5644 GB, free: 2.512 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.008674, allocations: 309.3 kB / 0.5647 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.0101, allocations: 1.191 MB / 0.5659 GB, free: 1.012 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.01097, allocations: 0.693 MB / 0.5665 GB, free: 328 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1798/0.1907, allocations: 2.431 MB / 0.5689 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.1911, allocations: 210.2 kB / 0.5691 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.193, allocations: 1.337 MB / 0.5704 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.1942, allocations: 1.087 MB / 0.5715 GB, free: 15.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.1946, allocations: 204.4 kB / 0.5717 GB, free: 15.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.1952, allocations: 375.5 kB / 0.572 GB, free: 15.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.1955, allocations: 0.5122 MB / 0.5725 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.1963, allocations: 0.6897 MB / 0.5732 GB, free: 14.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.1983, allocations: 2.447 MB / 0.5756 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1983, allocations: 1.609 kB / 0.5756 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1983, allocations: 0 / 0.5756 GB, free: 14.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.1983, allocations: 1.25 kB / 0.5756 GB, free: 14.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.007814/0.2062, allocations: 4.077 MB / 0.5796 GB, free: 12.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2062, allocations: 11.17 kB / 0.5796 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.2064, allocations: 134.8 kB / 0.5797 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.2082, allocations: 0.5812 MB / 0.5803 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.2094, allocations: 1.163 MB / 0.5814 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2096, allocations: 331.7 kB / 0.5817 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.2098, allocations: 116 kB / 0.5819 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2112, allocations: 1.109 MB / 0.5829 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2112, allocations: 3.281 kB / 0.5829 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2113, allocations: 36.03 kB / 0.583 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.2113, allocations: 20.81 kB / 0.583 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.213, allocations: 1.192 MB / 0.5842 GB, free: 10.52 MB / 442.7 MB 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.004138/0.2171, allocations: 3.354 MB / 0.5874 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2188, allocations: 1.32 MB / 0.5887 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.2197, allocations: 0.7304 MB / 0.5894 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.2198, allocations: 18.69 kB / 0.5895 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.2198, allocations: 46.09 kB / 0.5895 GB, free: 8.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 2.555e-06/0.2198, allocations: 0 / 0.5895 GB, free: 8.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01391/0.2337, allocations: 6.891 MB / 0.5962 GB, free: 4.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2337, allocations: 65.28 kB / 0.5963 GB, free: 4.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.2362, allocations: 1.658 MB / 0.5979 GB, free: 3.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/0.2365, allocations: 60.42 kB / 0.598 GB, free: 3.645 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.2369, allocations: 0.5567 MB / 0.5985 GB, free: 3.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/0.2375, allocations: 0.5247 MB / 0.599 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008128/0.2383, allocations: 0.5116 MB / 0.5995 GB, free: 2.406 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.2383, allocations: 305.1 kB / 0.5998 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.2399, allocations: 1.159 MB / 0.6009 GB, free: 1.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.2415, allocations: 1.374 MB / 0.6023 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.2446, allocations: 2.396 MB / 0.6046 GB, free: 15.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.2446, allocations: 0 / 0.6046 GB, free: 15.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=351) (initialization): time 0.006792/0.2514, allocations: 4.316 MB / 0.6088 GB, free: 11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.2515, allocations: 4 kB / 0.6088 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2515, allocations: 0 / 0.6088 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.2572, allocations: 2.892 MB / 0.6117 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.2589, allocations: 488.1 kB / 0.6121 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.2627, allocations: 2.565 MB / 0.6146 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.2648, allocations: 262.4 kB / 0.6149 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.265, allocations: 88.84 kB / 0.615 GB, free: 4.727 MB / 458.7 MB 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 (284): * Single equations (assignments): 283 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0005896/0.2656, allocations: 310.1 kB / 0.6153 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.2659, allocations: 178.6 kB / 0.6154 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/0.2718, allocations: 3.576 MB / 0.6189 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.2719, allocations: 15.94 kB / 0.619 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2719, allocations: 0 / 0.619 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.2719, allocations: 11.91 kB / 0.619 GB, free: 0.6758 MB / 458.7 MB 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.008421/0.2803, allocations: 4.87 MB / 0.6237 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.2803, allocations: 0 / 0.6237 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.281, allocations: 179.6 kB / 0.6239 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.2839, allocations: 1.525 MB / 0.6254 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.2841, allocations: 31.98 kB / 0.6254 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.2953, allocations: 7.715 MB / 0.6329 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2953, allocations: 0 / 0.6329 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/0.3031, allocations: 4.619 MB / 0.6375 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.3039, allocations: 230.5 kB / 0.6377 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.3042, allocations: 28 kB / 0.6377 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.305, allocations: 87.78 kB / 0.6378 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/0.3055, allocations: 207.1 kB / 0.638 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.3055, allocations: 35.98 kB / 0.638 GB, free: 13.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.3067, allocations: 1.094 MB / 0.6391 GB, free: 12 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3067, allocations: 0 / 0.6391 GB, free: 12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001657/0.3084, allocations: 0.5934 MB / 0.6397 GB, free: 11.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (96): * Single equations (assignments): 95 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007931/0.3163, allocations: 5.215 MB / 0.6448 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005363/0.3217, allocations: 2.813 MB / 0.6475 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3217, allocations: 0 / 0.6475 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.3244, allocations: 1.5 MB / 0.649 GB, free: 1.934 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3256, allocations: 135.4 kB / 0.6491 GB, free: 1.801 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/0.3516, allocations: 18.36 MB / 0.667 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.352, allocations: 0.6504 MB / 0.6677 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006981/0.3527, allocations: 163.3 kB / 0.6678 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008045/0.3535, allocations: 0.6408 MB / 0.6684 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/0.3535, allocations: 0 / 0.6684 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.4099, allocations: 47.04 MB / 0.7144 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/9.161, allocations: 2.656 kB / 0.7144 GB, free: 14.98 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.403579598292708] Failed to read output from testmodel.py, exit status != 0: 9.268539289012551 9.27683596 9.076915234 Calling exit ...