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.0008629/0.0008629, 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.8442/0.8442, 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.0009888/0.0009888, allocations: 160.5 kB / 256 MB, free: 13.34 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.2618/0.2618, allocations: 80.37 MB / 392.7 MB, free: 2.359 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.563e-06/1.563e-06, allocations: 0 / 0.5549 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.214e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005256/0.005268, allocations: 7.178 MB / 0.5619 GB, free: 5.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.008902, allocations: 2.526 MB / 0.5644 GB, free: 2.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.009399, allocations: 12 kB / 0.5644 GB, free: 2.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.00985, allocations: 313.2 kB / 0.5647 GB, free: 2.414 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.01136, allocations: 1.192 MB / 0.5659 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.01219, allocations: 0.6871 MB / 0.5665 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.0137, allocations: 2.44 MB / 0.5689 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.01398, allocations: 201.3 kB / 0.5691 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.01505, allocations: 1.337 MB / 0.5704 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007931/0.01585, allocations: 1.094 MB / 0.5715 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.01602, allocations: 204 kB / 0.5717 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.01642, allocations: 383.6 kB / 0.5721 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.01666, allocations: 0.5058 MB / 0.5725 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.01704, allocations: 0.6853 MB / 0.5732 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.01844, allocations: 2.445 MB / 0.5756 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.01844, allocations: 3.938 kB / 0.5756 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01844, allocations: 0 / 0.5756 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.01845, allocations: 0 / 0.5756 GB, free: 7.195 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.007432/0.02588, allocations: 4.084 MB / 0.5796 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.02592, allocations: 12.03 kB / 0.5796 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.02605, allocations: 135.5 kB / 0.5797 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.02771, allocations: 0.577 MB / 0.5803 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.02899, allocations: 1.167 MB / 0.5814 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.02919, allocations: 328.1 kB / 0.5818 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.02935, allocations: 120 kB / 0.5819 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.0307, allocations: 1.108 MB / 0.5829 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.03072, allocations: 0 / 0.5829 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.03079, allocations: 40 kB / 0.583 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.0308, allocations: 20 kB / 0.583 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.03243, allocations: 1.195 MB / 0.5842 GB, free: 14.28 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 preOpt removeSimpleEquations (simulation): time 0.004114/0.03655, allocations: 3.34 MB / 0.5874 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.0383, allocations: 1.326 MB / 0.5887 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.03921, allocations: 0.7309 MB / 0.5894 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.03929, allocations: 21.3 kB / 0.5895 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.03932, allocations: 43.88 kB / 0.5895 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.03933, allocations: 0 / 0.5895 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.01451/0.05384, allocations: 6.891 MB / 0.5962 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.05388, allocations: 76.59 kB / 0.5963 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.05536, allocations: 1.659 MB / 0.5979 GB, free: 92 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.05547, allocations: 61.7 kB / 0.598 GB, free: 24 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.1757/0.2311, allocations: 0.5507 MB / 0.5985 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.2316, allocations: 0.5217 MB / 0.599 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.2322, allocations: 0.5098 MB / 0.5995 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.195e-05/0.2322, allocations: 307.6 kB / 0.5998 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.2335, allocations: 1.156 MB / 0.601 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.2348, allocations: 1.372 MB / 0.6023 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.2372, allocations: 2.37 MB / 0.6046 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2372, allocations: 4.953 kB / 0.6046 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.005522/0.2427, allocations: 4.312 MB / 0.6088 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2428, allocations: 6.219 kB / 0.6088 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2428, allocations: 9.188 kB / 0.6088 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/0.2485, allocations: 2.884 MB / 0.6117 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.2496, allocations: 491.4 kB / 0.6121 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.2528, allocations: 2.548 MB / 0.6146 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.254, allocations: 260.1 kB / 0.6149 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.2541, allocations: 90.31 kB / 0.6149 GB, free: 86.77 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 (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.0004019/0.2545, allocations: 314.9 kB / 0.6152 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.2547, allocations: 178 kB / 0.6154 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/0.2609, allocations: 3.582 MB / 0.6189 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.2609, allocations: 13.78 kB / 0.6189 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2609, allocations: 0.75 kB / 0.6189 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.2609, allocations: 7.906 kB / 0.6189 GB, free: 85.43 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.007423/0.2683, allocations: 4.864 MB / 0.6237 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2683, allocations: 1.781 kB / 0.6237 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.2688, allocations: 168.4 kB / 0.6238 GB, free: 83.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.2718, allocations: 1.54 MB / 0.6254 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.2719, allocations: 34.09 kB / 0.6254 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.2824, allocations: 7.708 MB / 0.6329 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2824, allocations: 0 / 0.6329 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/0.2892, allocations: 4.624 MB / 0.6374 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.2894, allocations: 239 kB / 0.6377 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2896, allocations: 26.09 kB / 0.6377 GB, free: 78.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.2902, allocations: 79.62 kB / 0.6378 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.2905, allocations: 204.8 kB / 0.638 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.2906, allocations: 35.2 kB / 0.638 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008794/0.2914, allocations: 1.09 MB / 0.6391 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2914, allocations: 3.938 kB / 0.6391 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000877/0.2923, allocations: 0.5918 MB / 0.6396 GB, free: 77.51 MB / 0.5105 GB 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.006462/0.2988, allocations: 5.236 MB / 0.6447 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.3027, allocations: 2.806 MB / 0.6475 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3027, allocations: 4 kB / 0.6475 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.3048, allocations: 1.495 MB / 0.6489 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.3054, allocations: 137.5 kB / 0.6491 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.3238, allocations: 18.33 MB / 0.667 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3241, allocations: 0.658 MB / 0.6676 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.3244, allocations: 167.3 kB / 0.6678 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.3249, allocations: 0.637 MB / 0.6684 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.3249, allocations: 0 / 0.6684 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.3659, allocations: 47.04 MB / 0.7144 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.126, allocations: 4.062 kB / 0.7144 GB, free: 1.332 MB / 0.5105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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.415058428421617] Failed to read output from testmodel.py, exit status != 0: 9.23946963250637 9.253101881 9.232284044 Calling exit ...