Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.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.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006378/0.006378, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4341/0.4341, allocations: 78.52 MB / 418.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 83.88 kB / 0.5531 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2996, allocations: 68.16 MB / 0.6197 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005084/0.3047, allocations: 6.182 MB / 0.6257 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.3077, allocations: 2.118 MB / 0.6278 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.3081, allocations: 8 kB / 0.6278 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.3085, allocations: 238.1 kB / 0.628 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.3107, allocations: 1.166 MB / 0.6292 GB, free: 444 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.3115, allocations: 488.7 kB / 0.6296 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.3132, allocations: 1.844 MB / 0.6314 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.3135, allocations: 211.4 kB / 0.6316 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.3143, allocations: 0.7084 MB / 0.6323 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009866/0.3153, allocations: 0.9534 MB / 0.6333 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.3155, allocations: 148 kB / 0.6334 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.316, allocations: 311.9 kB / 0.6337 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.3163, allocations: 386.5 kB / 0.6341 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.3168, allocations: 0.68 MB / 0.6347 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.3183, allocations: 1.727 MB / 0.6364 GB, free: 8.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3183, allocations: 0 / 0.6364 GB, free: 8.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3183, allocations: 0 / 0.6364 GB, free: 8.977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.3184, allocations: 0 / 0.6364 GB, free: 8.977 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01463/0.333, allocations: 3.709 MB / 0.64 GB, free: 5.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3331, allocations: 12.03 kB / 0.64 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.3332, allocations: 106.7 kB / 0.6402 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.3362, allocations: 0.4911 MB / 0.6406 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.3376, allocations: 0.8984 MB / 0.6415 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.3378, allocations: 226.2 kB / 0.6417 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.338, allocations: 88 kB / 0.6418 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3399, allocations: 0.8887 MB / 0.6427 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.34, allocations: 0 / 0.6427 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.34, allocations: 24 kB / 0.6427 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3401, allocations: 16 kB / 0.6427 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.3423, allocations: 0.9966 MB / 0.6437 GB, free: 1.367 MB / 446.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.004667/0.347, allocations: 2.915 MB / 0.6465 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.3499, allocations: 1.097 MB / 0.6476 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3513, allocations: 0.6597 MB / 0.6482 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3514, allocations: 20.97 kB / 0.6483 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3514, allocations: 47.5 kB / 0.6483 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.677e-06/0.3514, allocations: 4 kB / 0.6483 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02699/0.3784, allocations: 6.477 MB / 0.6546 GB, free: 5.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.3785, allocations: 60.41 kB / 0.6547 GB, free: 5.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.3804, allocations: 1.144 MB / 0.6558 GB, free: 4.727 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.3807, allocations: 45.7 kB / 0.6559 GB, free: 4.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.381, allocations: 389.9 kB / 0.6562 GB, free: 4.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.3814, allocations: 363 kB / 0.6566 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007306/0.3822, allocations: 367.2 kB / 0.6569 GB, free: 3.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.3823, allocations: 309.1 kB / 0.6572 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.3843, allocations: 0.9097 MB / 0.6581 GB, free: 2.348 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.3863, allocations: 0.9351 MB / 0.659 GB, free: 1.414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.3902, allocations: 1.809 MB / 0.6608 GB, free: 15.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3902, allocations: 8 kB / 0.6608 GB, free: 15.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007521/0.3977, allocations: 3.04 MB / 0.6638 GB, free: 12.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3978, allocations: 4 kB / 0.6638 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3978, allocations: 0 / 0.6638 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/0.407, allocations: 2.272 MB / 0.666 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4087, allocations: 323.5 kB / 0.6663 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.4143, allocations: 2.268 MB / 0.6685 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.4164, allocations: 198.5 kB / 0.6687 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.4167, allocations: 59.97 kB / 0.6688 GB, free: 7.398 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0005269/0.4172, allocations: 249.5 kB / 0.669 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.4176, allocations: 118.4 kB / 0.6691 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.429, allocations: 3.297 MB / 0.6723 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.429, allocations: 15.94 kB / 0.6723 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.429, allocations: 0 / 0.6723 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.4291, allocations: 7.969 kB / 0.6724 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4307, allocations: 1.21 MB / 0.6735 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4307, allocations: 0 / 0.6735 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.4314, allocations: 115.8 kB / 0.6736 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005566/0.437, allocations: 1.446 MB / 0.6751 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4371, allocations: 19.94 kB / 0.6751 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.4568, allocations: 7.819 MB / 0.6827 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4568, allocations: 0 / 0.6827 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.4699, allocations: 4.135 MB / 0.6868 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.4704, allocations: 223.4 kB / 0.687 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.4707, allocations: 24 kB / 0.687 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.472, allocations: 83.91 kB / 0.6871 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/0.4726, allocations: 176.8 kB / 0.6872 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.4727, allocations: 27.98 kB / 0.6873 GB, free: 4.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.4739, allocations: 0.7602 MB / 0.688 GB, free: 3.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.395e-06/0.4739, allocations: 0 / 0.688 GB, free: 3.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001308/0.4752, allocations: 435.6 kB / 0.6884 GB, free: 2.996 MB / 494.1 MB 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 (62): * Single equations (assignments): 61 * 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.01305/0.4883, allocations: 4.605 MB / 0.6929 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007485/0.4958, allocations: 2.379 MB / 0.6952 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4958, allocations: 0 / 0.6952 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/0.5002, allocations: 1.302 MB / 0.6965 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5013, allocations: 92.25 kB / 0.6966 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/0.5273, allocations: 13.35 MB / 0.7096 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.528, allocations: 1.053 MB / 0.7107 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004646/0.5285, allocations: 103.6 kB / 0.7108 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006983/0.5292, allocations: 431.3 kB / 0.7112 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.5292, allocations: 4 kB / 0.7112 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06587/0.5951, allocations: 35.17 MB / 0.7455 GB, free: 8.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.27, allocations: 9.594 kB / 0.7455 GB, free: 8.492 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)