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.001657/0.001657, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.442/1.442, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001554/0.001554, allocations: 218.7 kB / 306.7 MB, free: 4.285 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.5568/0.5568, allocations: 101.3 MB / 464.1 MB, free: 11.91 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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.002585/0.002585, allocations: 87.88 kB / 0.6199 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1534, allocations: 78.57 MB / 0.6967 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2868/0.4402, allocations: 8.317 MB / 0.7048 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.445, allocations: 2.648 MB / 0.7074 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.4461, allocations: 10.16 kB / 0.7074 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.4468, allocations: 313.5 kB / 0.7077 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.4495, allocations: 1.201 MB / 0.7089 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.451, allocations: 0.7019 MB / 0.7095 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.4542, allocations: 2.394 MB / 0.7119 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.4547, allocations: 220.1 kB / 0.7121 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.4564, allocations: 0.9864 MB / 0.7131 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.4585, allocations: 1.335 MB / 0.7144 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005015/0.459, allocations: 208.7 kB / 0.7146 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.4599, allocations: 390.5 kB / 0.7149 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005531/0.4605, allocations: 0.5049 MB / 0.7154 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.4618, allocations: 0.972 MB / 0.7164 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.4651, allocations: 2.354 MB / 0.7187 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4651, allocations: 0 / 0.7187 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4651, allocations: 0 / 0.7187 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.732e-05/0.4652, allocations: 0 / 0.7187 GB, free: 12.37 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.02096/0.4861, allocations: 4.178 MB / 0.7228 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4862, allocations: 10.53 kB / 0.7228 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.415e-05/0.4862, allocations: 22.06 kB / 0.7228 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002341/0.4865, allocations: 140.5 kB / 0.7229 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/0.4904, allocations: 0.5883 MB / 0.7235 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.493, allocations: 1.227 MB / 0.7247 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.4933, allocations: 275.2 kB / 0.725 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.4937, allocations: 120 kB / 0.7251 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.4965, allocations: 1.105 MB / 0.7261 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4965, allocations: 0 / 0.7261 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4966, allocations: 34.69 kB / 0.7262 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.4966, allocations: 25.38 kB / 0.7262 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.4994, allocations: 1.206 MB / 0.7274 GB, free: 8.566 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.009048/0.5084, allocations: 4.631 MB / 0.7319 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.512, allocations: 2.08 MB / 0.7339 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.5135, allocations: 0.7271 MB / 0.7346 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.5137, allocations: 31.94 kB / 0.7347 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5137, allocations: 48.91 kB / 0.7347 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 2.995e-06/0.5137, allocations: 3.938 kB / 0.7347 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133): time 0.03045/0.5442, allocations: 6.965 MB / 0.7415 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.5442, allocations: 65.56 kB / 0.7416 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.5475, allocations: 1.658 MB / 0.7432 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005558/0.548, allocations: 61.17 kB / 0.7433 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/0.5486, allocations: 0.5579 MB / 0.7438 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008345/0.5495, allocations: 0.527 MB / 0.7443 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.5506, allocations: 0.5211 MB / 0.7448 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5507, allocations: 302.1 kB / 0.7451 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/0.5532, allocations: 1.16 MB / 0.7463 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.556, allocations: 1.376 MB / 0.7476 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.5613, allocations: 2.371 MB / 0.7499 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.5613, allocations: 1.375 kB / 0.7499 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01256/0.5739, allocations: 4.319 MB / 0.7541 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.5739, allocations: 4 kB / 0.7541 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5739, allocations: 0 / 0.7541 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/0.5862, allocations: 2.893 MB / 0.757 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.5888, allocations: 484.2 kB / 0.7574 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/0.5955, allocations: 2.562 MB / 0.7599 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.5988, allocations: 254.4 kB / 0.7602 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/0.5991, allocations: 91.97 kB / 0.7603 GB, free: 480 kB / 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 (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.000752/0.5999, allocations: 313.9 kB / 0.7606 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.6004, allocations: 182.8 kB / 0.7607 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.613, allocations: 3.588 MB / 0.7642 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.613, allocations: 12 kB / 0.7642 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.613, allocations: 0 / 0.7642 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.6131, allocations: 3.984 kB / 0.7643 GB, free: 12.35 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.01669/0.6298, allocations: 5.709 MB / 0.7698 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.6298, allocations: 0 / 0.7698 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.6312, allocations: 171.7 kB / 0.77 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0066/0.6378, allocations: 1.543 MB / 0.7715 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003728/0.6381, allocations: 27.98 kB / 0.7715 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/0.6604, allocations: 8.016 MB / 0.7794 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6604, allocations: 4 kB / 0.7794 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/0.6756, allocations: 4.617 MB / 0.7839 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/0.6766, allocations: 307.7 kB / 0.7842 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/0.6771, allocations: 28 kB / 0.7842 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.6788, allocations: 83.91 kB / 0.7843 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/0.6794, allocations: 193.5 kB / 0.7844 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6795, allocations: 32 kB / 0.7845 GB, free: 7.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001769/0.6813, allocations: 1.098 MB / 0.7856 GB, free: 6.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6813, allocations: 0 / 0.7856 GB, free: 6.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002055/0.6833, allocations: 0.5973 MB / 0.7861 GB, free: 5.586 MB / 0.545 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.01543/0.6988, allocations: 5.228 MB / 0.7912 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009645/0.7084, allocations: 2.803 MB / 0.794 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.7084, allocations: 0 / 0.794 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005468/0.7139, allocations: 1.496 MB / 0.7954 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.7156, allocations: 126.7 kB / 0.7956 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/0.7603, allocations: 18.94 MB / 0.8141 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/0.7612, allocations: 1.238 MB / 0.8153 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009119/0.7621, allocations: 163.2 kB / 0.8154 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.7633, allocations: 0.6399 MB / 0.816 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.7633, allocations: 3.938 kB / 0.816 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09661/0.8599, allocations: 45.93 MB / 0.8609 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.7, allocations: 7.422 kB / 0.8609 GB, free: 8.918 MB / 0.6231 GB " [Timeout remaining time 643] (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: 20.44421536300797] Failed to read output from testmodel.py, exit status != 0: 16.876149049028754 16.897442914 16.427882501 Calling exit ...