Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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) 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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_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.0007943/0.0007943, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.372/1.372, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001045/0.001044, allocations: 172.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4994/0.4994, allocations: 78.55 MB / 420.3 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 11.98 kB / 0.4888 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1667, allocations: 69.35 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2913/0.458, allocations: 6.711 MB / 0.563 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.4619, allocations: 2.295 MB / 0.5653 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.4623, allocations: 10.38 kB / 0.5653 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.4628, allocations: 203.8 kB / 0.5655 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.4653, allocations: 1.115 MB / 0.5666 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.4662, allocations: 475.4 kB / 0.567 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4675, allocations: 1.915 MB / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.4679, allocations: 227.2 kB / 0.5691 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.4684, allocations: 0.6835 MB / 0.5698 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/0.4692, allocations: 0.9497 MB / 0.5707 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4693, allocations: 83.19 kB / 0.5708 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.4698, allocations: 253 kB / 0.571 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.47, allocations: 337.2 kB / 0.5714 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.4704, allocations: 0.7145 MB / 0.5721 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4717, allocations: 1.788 MB / 0.5738 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4717, allocations: 1.375 kB / 0.5738 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4717, allocations: 0 / 0.5738 GB, free: 32.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4717, allocations: 0 / 0.5738 GB, free: 32.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01331/0.485, allocations: 3.76 MB / 0.5775 GB, free: 31.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4851, allocations: 13.55 kB / 0.5775 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.4853, allocations: 112.7 kB / 0.5776 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.488, allocations: 0.5329 MB / 0.5781 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.4891, allocations: 0.9653 MB / 0.5791 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.4893, allocations: 247.2 kB / 0.5793 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.4895, allocations: 88.19 kB / 0.5794 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.4914, allocations: 1.04 MB / 0.5804 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4915, allocations: 1.219 kB / 0.5804 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.4915, allocations: 30.5 kB / 0.5804 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.4916, allocations: 14.16 kB / 0.5804 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.4939, allocations: 1.182 MB / 0.5816 GB, free: 30.39 MB / 430.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.005237/0.4992, allocations: 3.795 MB / 0.5853 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.5024, allocations: 1.753 MB / 0.587 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.504, allocations: 0.7788 MB / 0.5878 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.5041, allocations: 20.61 kB / 0.5878 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5041, allocations: 43.12 kB / 0.5878 GB, free: 27.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.134e-06/0.5041, allocations: 0 / 0.5878 GB, free: 27.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02376/0.5279, allocations: 6.626 MB / 0.5943 GB, free: 26.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.528, allocations: 66.03 kB / 0.5944 GB, free: 25.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.5298, allocations: 1.274 MB / 0.5956 GB, free: 25.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.53, allocations: 50.77 kB / 0.5957 GB, free: 25.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.5303, allocations: 474.5 kB / 0.5961 GB, free: 24.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.5307, allocations: 395.8 kB / 0.5965 GB, free: 24.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.531, allocations: 199.7 kB / 0.5967 GB, free: 24.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.531, allocations: 309 kB / 0.597 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5331, allocations: 1.008 MB / 0.598 GB, free: 23.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.5355, allocations: 1.168 MB / 0.5991 GB, free: 23.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.5397, allocations: 2.055 MB / 0.6011 GB, free: 22.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5397, allocations: 0 / 0.6011 GB, free: 22.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007152/0.5468, allocations: 3.215 MB / 0.6042 GB, free: 21.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5469, allocations: 6.844 kB / 0.6042 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5469, allocations: 1.219 kB / 0.6042 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009385/0.5563, allocations: 2.54 MB / 0.6067 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.5578, allocations: 356.3 kB / 0.6071 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.5633, allocations: 2.46 MB / 0.6095 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5654, allocations: 255.1 kB / 0.6097 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.5655, allocations: 66.47 kB / 0.6098 GB, free: 19.61 MB / 430.1 MB 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 (204): * Single equations (assignments): 203 * 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.0004959/0.566, allocations: 262.8 kB / 0.61 GB, free: 19.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.5663, allocations: 136.7 kB / 0.6102 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.5782, allocations: 3.983 MB / 0.614 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5782, allocations: 12 kB / 0.6141 GB, free: 17.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5782, allocations: 0 / 0.6141 GB, free: 17.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.5782, allocations: 7.172 kB / 0.6141 GB, free: 17.99 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01248/0.5907, allocations: 5.664 MB / 0.6196 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5907, allocations: 5.25 kB / 0.6196 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.5915, allocations: 139.9 kB / 0.6197 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/0.5964, allocations: 1.67 MB / 0.6214 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.5965, allocations: 23.98 kB / 0.6214 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/0.6126, allocations: 7.843 MB / 0.6291 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6127, allocations: 4 kB / 0.6291 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.6249, allocations: 4.921 MB / 0.6339 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.6254, allocations: 259.9 kB / 0.6341 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.6255, allocations: 20 kB / 0.6341 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.6268, allocations: 125 kB / 0.6342 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.6273, allocations: 180.6 kB / 0.6344 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.6273, allocations: 27.98 kB / 0.6344 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.6287, allocations: 0.8473 MB / 0.6353 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6287, allocations: 0 / 0.6353 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001523/0.6303, allocations: 483.6 kB / 0.6357 GB, free: 12 MB / 446.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 (71): * Single equations (assignments): 70 * 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.01319/0.6435, allocations: 5.382 MB / 0.641 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007314/0.6508, allocations: 2.654 MB / 0.6436 GB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6508, allocations: 0 / 0.6436 GB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004307/0.6551, allocations: 1.507 MB / 0.6451 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.656, allocations: 104.7 kB / 0.6452 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/0.6867, allocations: 16.67 MB / 0.6614 GB, free: 1.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.6875, allocations: 1.117 MB / 0.6625 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.688, allocations: 126.7 kB / 0.6626 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/0.6887, allocations: 499.3 kB / 0.6631 GB, free: 15.48 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6887, allocations: 0 / 0.6631 GB, free: 15.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.7416, allocations: 32.64 MB / 0.695 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.7419, allocations: 248.6 kB / 0.6952 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.307, allocations: 0 / 0.6952 GB, free: 14.95 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)