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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 108.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 198.3 kB / 299.8 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5656/0.5656, allocations: 99.66 MB / 454.4 MB, free: 5.078 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002382/0.002382, allocations: 83.88 kB / 0.6073 GB, free: 9.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1595, allocations: 76.92 MB / 0.6824 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008606/0.1681, allocations: 7.009 MB / 0.6893 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004788/0.1729, allocations: 2.309 MB / 0.6915 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.1736, allocations: 8 kB / 0.6916 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1742, allocations: 265.8 kB / 0.6918 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1766, allocations: 0.9973 MB / 0.6928 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1779, allocations: 0.5919 MB / 0.6934 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3249/0.5027, allocations: 1.848 MB / 0.6952 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.5033, allocations: 175.5 kB / 0.6953 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.5045, allocations: 0.7479 MB / 0.6961 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.5056, allocations: 1.024 MB / 0.6971 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.5059, allocations: 157.3 kB / 0.6972 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.5066, allocations: 334 kB / 0.6975 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.5069, allocations: 395.9 kB / 0.6979 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.5075, allocations: 0.7659 MB / 0.6987 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.5097, allocations: 1.883 MB / 0.7005 GB, free: 7.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5097, allocations: 2.406 kB / 0.7005 GB, free: 7.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5098, allocations: 0 / 0.7005 GB, free: 7.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.5098, allocations: 0 / 0.7005 GB, free: 7.945 MB / 494.1 MB 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.01272/0.5225, allocations: 3.386 MB / 0.7038 GB, free: 6.938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5226, allocations: 8.094 kB / 0.7038 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.5227, allocations: 121.5 kB / 0.7039 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.5259, allocations: 0.5241 MB / 0.7044 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5274, allocations: 0.9921 MB / 0.7054 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.5277, allocations: 233.5 kB / 0.7056 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.5278, allocations: 91.69 kB / 0.7057 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5299, allocations: 0.9917 MB / 0.7067 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.53, allocations: 0 / 0.7067 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.5301, allocations: 30.69 kB / 0.7067 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5301, allocations: 18.09 kB / 0.7067 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.5325, allocations: 1.11 MB / 0.7078 GB, free: 5.84 MB / 494.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.006769/0.5393, allocations: 3.763 MB / 0.7115 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5425, allocations: 1.616 MB / 0.7131 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.5441, allocations: 0.6579 MB / 0.7137 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5442, allocations: 21.86 kB / 0.7137 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5442, allocations: 49.66 kB / 0.7138 GB, free: 2.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=105): time 3.597e-06/0.5442, allocations: 0 / 0.7138 GB, free: 2.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=105): time 0.02703/0.5713, allocations: 6.492 MB / 0.7201 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5713, allocations: 66.88 kB / 0.7202 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.5734, allocations: 1.28 MB / 0.7214 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.5737, allocations: 51.89 kB / 0.7215 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.5741, allocations: 482.7 kB / 0.7219 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.5746, allocations: 421.2 kB / 0.7223 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007216/0.5754, allocations: 385.5 kB / 0.7227 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5755, allocations: 301.1 kB / 0.723 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.5776, allocations: 0.9587 MB / 0.7239 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.58, allocations: 1.12 MB / 0.725 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.5843, allocations: 1.954 MB / 0.7269 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.5843, allocations: 6.188 kB / 0.7269 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008454/0.5927, allocations: 3.287 MB / 0.7302 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.5927, allocations: 7.156 kB / 0.7302 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5928, allocations: 2.125 kB / 0.7302 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009483/0.6022, allocations: 2.334 MB / 0.7324 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6042, allocations: 360.8 kB / 0.7328 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.6097, allocations: 2.295 MB / 0.735 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.6124, allocations: 226 kB / 0.7352 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.6125, allocations: 68.38 kB / 0.7353 GB, free: 8.145 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 (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.000658/0.6132, allocations: 277.1 kB / 0.7356 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.6135, allocations: 138.1 kB / 0.7357 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.6244, allocations: 3.393 MB / 0.739 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.6244, allocations: 15.58 kB / 0.739 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6244, allocations: 0.875 kB / 0.739 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.6245, allocations: 5.203 kB / 0.739 GB, free: 6.117 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.01404/0.6385, allocations: 5.104 MB / 0.744 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6385, allocations: 0 / 0.744 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.6394, allocations: 138.5 kB / 0.7442 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.6452, allocations: 1.493 MB / 0.7456 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.6454, allocations: 28.86 kB / 0.7456 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/0.6669, allocations: 8.015 MB / 0.7535 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6669, allocations: 0 / 0.7535 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.681, allocations: 4.323 MB / 0.7577 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.6818, allocations: 255.8 kB / 0.7579 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/0.6824, allocations: 20 kB / 0.758 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.6841, allocations: 103.9 kB / 0.7581 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.6847, allocations: 176.8 kB / 0.7582 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6849, allocations: 39.73 kB / 0.7583 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00165/0.6865, allocations: 0.8473 MB / 0.7591 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6865, allocations: 0 / 0.7591 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002246/0.6888, allocations: 475.7 kB / 0.7595 GB, free: 1.359 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 (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.01399/0.7028, allocations: 4.792 MB / 0.7642 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008184/0.7109, allocations: 2.33 MB / 0.7665 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7109, allocations: 0 / 0.7665 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004598/0.7155, allocations: 1.332 MB / 0.7678 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.7171, allocations: 111.9 kB / 0.7679 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.7516, allocations: 15.14 MB / 0.7827 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.7525, allocations: 1.113 MB / 0.7838 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006665/0.7532, allocations: 124.8 kB / 0.7839 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000936/0.7542, allocations: 0.4915 MB / 0.7844 GB, free: 7.844 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/0.7542, allocations: 0 / 0.7844 GB, free: 7.844 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09044/0.8446, allocations: 36.76 MB / 0.8203 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.06, allocations: 19.12 kB / 0.8203 GB, free: 3.316 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 19.64592013368383] Failed to read output from testmodel.py, exit status != 0: 16.173684091772884 16.19704959 15.682779265 Calling exit ...