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.001426/0.001426, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.471/1.471, allocations: 230.6 MB / 252.7 MB, free: 8.094 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.001951/0.001951, allocations: 216.5 kB / 309.2 MB, free: 2.961 MB / 238.1 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.5858/0.5858, allocations: 107.3 MB / 473 MB, free: 4.438 MB / 334.1 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: 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.002549/0.002549, allocations: 87.86 kB / 0.6332 GB, free: 4.984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5185, allocations: 80.17 MB / 0.7115 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007148/0.5256, allocations: 6.13 MB / 0.7175 GB, free: 16 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.531, allocations: 2.218 MB / 0.7197 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.5315, allocations: 10.62 kB / 0.7197 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.5321, allocations: 257.7 kB / 0.7199 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.5346, allocations: 0.9876 MB / 0.7209 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.536, allocations: 0.5827 MB / 0.7214 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.5381, allocations: 1.847 MB / 0.7233 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.5385, allocations: 167.2 kB / 0.7234 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.5396, allocations: 0.7729 MB / 0.7242 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.5409, allocations: 0.927 MB / 0.7251 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.5412, allocations: 155.9 kB / 0.7252 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.5419, allocations: 324.7 kB / 0.7255 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.5423, allocations: 398.2 kB / 0.7259 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.543, allocations: 0.646 MB / 0.7265 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.5458, allocations: 1.903 MB / 0.7284 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5458, allocations: 0.6562 kB / 0.7284 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5458, allocations: 0 / 0.7284 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.819e-05/0.5458, allocations: 1.188 kB / 0.7284 GB, free: 10.23 MB / 0.4981 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.01381/0.5596, allocations: 3.306 MB / 0.7316 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5597, allocations: 13.22 kB / 0.7316 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.5599, allocations: 117.9 kB / 0.7318 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.5633, allocations: 0.5324 MB / 0.7323 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.5653, allocations: 0.9135 MB / 0.7332 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.5657, allocations: 292 kB / 0.7334 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.5659, allocations: 85.75 kB / 0.7335 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.5683, allocations: 1.005 MB / 0.7345 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5683, allocations: 0 / 0.7345 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.5684, allocations: 25.91 kB / 0.7345 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.5684, allocations: 16.5 kB / 0.7345 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.5713, allocations: 1.103 MB / 0.7356 GB, free: 6.348 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 preOpt removeSimpleEquations (simulation): time 0.007058/0.5783, allocations: 2.745 MB / 0.7383 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.5816, allocations: 1.157 MB / 0.7394 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.5833, allocations: 0.6669 MB / 0.7401 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.5834, allocations: 20.36 kB / 0.7401 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5834, allocations: 39.44 kB / 0.7401 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 4.198e-06/0.5834, allocations: 1.281 kB / 0.7401 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.02793/0.6113, allocations: 6.414 MB / 0.7464 GB, free: 328 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.6114, allocations: 66.88 kB / 0.7465 GB, free: 256 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.6138, allocations: 1.283 MB / 0.7477 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.6141, allocations: 51.52 kB / 0.7478 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.6146, allocations: 487.2 kB / 0.7482 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.6151, allocations: 416.1 kB / 0.7486 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007413/0.6159, allocations: 386.2 kB / 0.749 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.616, allocations: 302.2 kB / 0.7493 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.6182, allocations: 0.9615 MB / 0.7502 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.6206, allocations: 1.121 MB / 0.7513 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.625, allocations: 1.959 MB / 0.7532 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.625, allocations: 0 / 0.7532 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008596/0.6336, allocations: 3.289 MB / 0.7565 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6336, allocations: 8 kB / 0.7565 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6336, allocations: 0 / 0.7565 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/0.6434, allocations: 2.331 MB / 0.7587 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.6454, allocations: 355.5 kB / 0.7591 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/0.6513, allocations: 2.307 MB / 0.7613 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/0.6541, allocations: 222.8 kB / 0.7615 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.6543, allocations: 71.91 kB / 0.7616 GB, free: 3.645 MB / 0.5137 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.0006458/0.655, allocations: 269.5 kB / 0.7619 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.6553, allocations: 143.1 kB / 0.762 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.6669, allocations: 3.389 MB / 0.7653 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.6669, allocations: 8 kB / 0.7653 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6669, allocations: 4 kB / 0.7653 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.667, allocations: 7.969 kB / 0.7653 GB, free: 15.81 MB / 0.5294 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.01412/0.6811, allocations: 4.445 MB / 0.7697 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.6811, allocations: 4 kB / 0.7697 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/0.682, allocations: 139.8 kB / 0.7698 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005882/0.6878, allocations: 1.492 MB / 0.7713 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.688, allocations: 23.98 kB / 0.7713 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/0.7094, allocations: 7.717 MB / 0.7788 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7094, allocations: 0 / 0.7788 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.7238, allocations: 4.322 MB / 0.783 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/0.7247, allocations: 182.8 kB / 0.7832 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.7249, allocations: 23.94 kB / 0.7832 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.7264, allocations: 103.9 kB / 0.7833 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.727, allocations: 192.6 kB / 0.7835 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.7271, allocations: 28 kB / 0.7836 GB, free: 12.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001304/0.7284, allocations: 0.8473 MB / 0.7844 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7284, allocations: 4 kB / 0.7844 GB, free: 12.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001441/0.7298, allocations: 483.7 kB / 0.7848 GB, free: 11.62 MB / 0.545 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.01373/0.7436, allocations: 4.789 MB / 0.7895 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008151/0.7517, allocations: 2.339 MB / 0.7918 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7517, allocations: 0 / 0.7918 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004704/0.7564, allocations: 1.329 MB / 0.7931 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.7579, allocations: 104.7 kB / 0.7932 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.7904, allocations: 15.14 MB / 0.808 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.791, allocations: 0.5215 MB / 0.8085 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006205/0.7916, allocations: 120.9 kB / 0.8086 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/0.7925, allocations: 0.4954 MB / 0.8091 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.7925, allocations: 4 kB / 0.8091 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08852/0.881, allocations: 37.56 MB / 0.8458 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.16, allocations: 3.859 kB / 0.8458 GB, free: 13.1 MB / 0.6075 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.877037598751485] Failed to read output from testmodel.py, exit status != 0: 16.298905281350017 16.316393399 15.767098049 Calling exit ...