Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001623/0.001623, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001618/0.001618, allocations: 220.8 kB / 310 MB, free: 3.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5093/0.5093, allocations: 79.74 MB / 446.2 MB, free: 40.55 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.002507/0.002507, allocations: 86.05 kB / 0.5936 GB, free: 38.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1607, allocations: 73.29 MB / 0.6652 GB, free: 360 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008718/0.1694, allocations: 6.087 MB / 0.6711 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.1752, allocations: 2.208 MB / 0.6733 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.1765, allocations: 12 kB / 0.6733 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007843/0.1773, allocations: 253.8 kB / 0.6735 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.1812, allocations: 1.255 MB / 0.6748 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1825, allocations: 0.4929 MB / 0.6752 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.1856, allocations: 2.03 MB / 0.6772 GB, free: 5.426 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.186, allocations: 173.7 kB / 0.6774 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1873, allocations: 0.8018 MB / 0.6782 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.1887, allocations: 1.047 MB / 0.6792 GB, free: 3.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.1889, allocations: 156 kB / 0.6793 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.1897, allocations: 335.8 kB / 0.6797 GB, free: 2.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.1901, allocations: 402.5 kB / 0.68 GB, free: 2.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.1908, allocations: 0.6567 MB / 0.6807 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.1934, allocations: 1.918 MB / 0.6826 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1934, allocations: 0 / 0.6826 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1934, allocations: 0 / 0.6826 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.1934, allocations: 4 kB / 0.6826 GB, free: 15.93 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01618/0.2096, allocations: 3.865 MB / 0.6863 GB, free: 12.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.2097, allocations: 8.031 kB / 0.6863 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.407e-05/0.2097, allocations: 21.5 kB / 0.6864 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.2099, allocations: 114.7 kB / 0.6865 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.2132, allocations: 0.5381 MB / 0.687 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.215, allocations: 0.917 MB / 0.6879 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/0.2154, allocations: 286.3 kB / 0.6882 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.2156, allocations: 91.95 kB / 0.6883 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.218, allocations: 0.9794 MB / 0.6892 GB, free: 8.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.218, allocations: 0 / 0.6892 GB, free: 8.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.2181, allocations: 28 kB / 0.6892 GB, free: 8.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2181, allocations: 19.94 kB / 0.6893 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.2208, allocations: 1.089 MB / 0.6903 GB, free: 7.84 MB / 478.1 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.006634/0.2275, allocations: 2.727 MB / 0.693 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.2306, allocations: 1.144 MB / 0.6941 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.2321, allocations: 0.6479 MB / 0.6947 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.2322, allocations: 13 kB / 0.6947 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.2323, allocations: 43.56 kB / 0.6948 GB, free: 3.199 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.747e-06/0.2323, allocations: 4 kB / 0.6948 GB, free: 3.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02213/0.2544, allocations: 5.5 MB / 0.7002 GB, free: 13.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.2545, allocations: 60.41 kB / 0.7002 GB, free: 13.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.2567, allocations: 1.279 MB / 0.7015 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003923/0.2571, allocations: 53.69 kB / 0.7015 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.2576, allocations: 478.2 kB / 0.702 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.2581, allocations: 412.6 kB / 0.7024 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007492/0.2589, allocations: 383.4 kB / 0.7027 GB, free: 11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.259, allocations: 301.1 kB / 0.703 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.2612, allocations: 0.9526 MB / 0.704 GB, free: 9.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.2635, allocations: 1.105 MB / 0.705 GB, free: 8.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.2675, allocations: 1.931 MB / 0.7069 GB, free: 6.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.2676, allocations: 3.938 kB / 0.7069 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007114/0.2747, allocations: 3.001 MB / 0.7099 GB, free: 3.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.2747, allocations: 8 kB / 0.7099 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2747, allocations: 192 / 0.7099 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/0.2839, allocations: 2.292 MB / 0.7121 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.2859, allocations: 355.5 kB / 0.7124 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.2915, allocations: 2.273 MB / 0.7147 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.294, allocations: 222.8 kB / 0.7149 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.2942, allocations: 67.98 kB / 0.7149 GB, free: 14.4 MB / 0.4981 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 (204): * Single equations (assignments): 203 * 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.0006121/0.2948, allocations: 265.5 kB / 0.7152 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.2951, allocations: 139.1 kB / 0.7153 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.306, allocations: 3.318 MB / 0.7186 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.306, allocations: 12 kB / 0.7186 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.3061, allocations: 0 / 0.7186 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-05/0.3061, allocations: 7.969 kB / 0.7186 GB, free: 10.64 MB / 0.4981 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.0141/0.3202, allocations: 4.348 MB / 0.7228 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.3202, allocations: 0 / 0.7228 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.3212, allocations: 127.9 kB / 0.7229 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005635/0.3268, allocations: 1.434 MB / 0.7243 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.327, allocations: 28 kB / 0.7244 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/0.3478, allocations: 7.557 MB / 0.7318 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3478, allocations: 0 / 0.7318 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.3615, allocations: 4.217 MB / 0.7359 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.3622, allocations: 178.7 kB / 0.736 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/0.3628, allocations: 20 kB / 0.7361 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.3644, allocations: 95.89 kB / 0.7362 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007358/0.3652, allocations: 188.7 kB / 0.7363 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.3653, allocations: 27.98 kB / 0.7364 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001634/0.3669, allocations: 0.8435 MB / 0.7372 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3669, allocations: 3.938 kB / 0.7372 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002067/0.369, allocations: 487.7 kB / 0.7377 GB, free: 6.91 MB / 0.5137 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 (71): * Single equations (assignments): 70 * 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.01345/0.3825, allocations: 4.693 MB / 0.7422 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008123/0.3906, allocations: 2.277 MB / 0.7445 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3906, allocations: 0 / 0.7445 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00462/0.3952, allocations: 1.293 MB / 0.7457 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.3971, allocations: 110.1 kB / 0.7458 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0344/0.4315, allocations: 14.65 MB / 0.7601 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.4322, allocations: 0.5252 MB / 0.7606 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006395/0.4329, allocations: 120.8 kB / 0.7608 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009653/0.4338, allocations: 0.4955 MB / 0.7612 GB, free: 14.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/0.4338, allocations: 3.938 kB / 0.7612 GB, free: 14.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08748/0.5213, allocations: 36.65 MB / 0.797 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/16.65, allocations: 14.67 kB / 0.7971 GB, free: 10.02 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.91618121403735] Failed to read output from testmodel.py, exit status != 0: 16.836782520986162 17.132611103 16.936386064 Calling exit ...