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.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007685/0.007685, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.00116/0.00116, allocations: 188.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5078/0.5078, allocations: 91.89 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 84.7 kB / 0.5722 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 71.28 MB / 0.6418 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006458/0.1162, allocations: 6.957 MB / 0.6486 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.1199, allocations: 2.293 MB / 0.6509 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.1203, allocations: 8 kB / 0.6509 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.1209, allocations: 269.8 kB / 0.6511 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.1228, allocations: 0.9852 MB / 0.6521 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1238, allocations: 0.5895 MB / 0.6527 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1254, allocations: 1.855 MB / 0.6545 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.1258, allocations: 255.7 kB / 0.6547 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.1265, allocations: 0.751 MB / 0.6555 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/0.1274, allocations: 1.004 MB / 0.6564 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.1276, allocations: 160 kB / 0.6566 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.1281, allocations: 335.8 kB / 0.6569 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1284, allocations: 398.5 kB / 0.6573 GB, free: 4.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.129, allocations: 0.7575 MB / 0.658 GB, free: 3.449 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.1305, allocations: 1.865 MB / 0.6598 GB, free: 1.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1305, allocations: 4 kB / 0.6599 GB, free: 1.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1305, allocations: 0 / 0.6599 GB, free: 1.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1305, allocations: 0 / 0.6599 GB, free: 1.574 MB / 462.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.01094/0.1415, allocations: 3.329 MB / 0.6631 GB, free: 14.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1415, allocations: 8.031 kB / 0.6631 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.1417, allocations: 114.7 kB / 0.6632 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.1446, allocations: 0.5219 MB / 0.6637 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.146, allocations: 0.9778 MB / 0.6647 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.1463, allocations: 230.9 kB / 0.6649 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1465, allocations: 88 kB / 0.665 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1484, allocations: 0.9755 MB / 0.6659 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1484, allocations: 4 kB / 0.6659 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.1485, allocations: 28 kB / 0.666 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1485, allocations: 16 kB / 0.666 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.1508, allocations: 1.093 MB / 0.6671 GB, free: 10.04 MB / 478.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.005843/0.1567, allocations: 3.727 MB / 0.6707 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.1596, allocations: 1.677 MB / 0.6723 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1611, allocations: 0.7182 MB / 0.673 GB, free: 3.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1612, allocations: 13 kB / 0.673 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1612, allocations: 43.56 kB / 0.6731 GB, free: 3.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.427e-06/0.1613, allocations: 0 / 0.6731 GB, free: 3.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02061/0.1819, allocations: 5.596 MB / 0.6786 GB, free: 13.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.182, allocations: 72.28 kB / 0.6786 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.1839, allocations: 1.283 MB / 0.6799 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.1841, allocations: 53.7 kB / 0.6799 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.1845, allocations: 473.7 kB / 0.6804 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.185, allocations: 394.5 kB / 0.6808 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007852/0.1858, allocations: 379.3 kB / 0.6811 GB, free: 11.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.1859, allocations: 301.1 kB / 0.6814 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.1877, allocations: 0.9488 MB / 0.6823 GB, free: 10 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.1897, allocations: 1.109 MB / 0.6834 GB, free: 8.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.1932, allocations: 1.935 MB / 0.6853 GB, free: 6.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1933, allocations: 0 / 0.6853 GB, free: 6.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006043/0.1993, allocations: 3.036 MB / 0.6883 GB, free: 3.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1993, allocations: 5.25 kB / 0.6883 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1994, allocations: 7.938 kB / 0.6883 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008188/0.2076, allocations: 2.284 MB / 0.6905 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.2092, allocations: 351.5 kB / 0.6908 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.214, allocations: 2.271 MB / 0.6931 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.216, allocations: 218.3 kB / 0.6933 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.2163, allocations: 67.97 kB / 0.6933 GB, free: 14.64 MB / 0.4981 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 (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.000542/0.2168, allocations: 273.4 kB / 0.6936 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.2172, allocations: 130.3 kB / 0.6937 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009884/0.227, allocations: 3.349 MB / 0.697 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.2271, allocations: 12 kB / 0.697 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2271, allocations: 0 / 0.697 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.2271, allocations: 7.969 kB / 0.697 GB, free: 10.85 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 postOpt removeSimpleEquations (simulation): time 0.01204/0.2392, allocations: 5.024 MB / 0.7019 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.2392, allocations: 0 / 0.7019 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.24, allocations: 131.8 kB / 0.702 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/0.2449, allocations: 1.434 MB / 0.7034 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.2451, allocations: 27.98 kB / 0.7035 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.2624, allocations: 7.842 MB / 0.7111 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2625, allocations: 3.984 kB / 0.7111 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.2741, allocations: 4.243 MB / 0.7153 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.2746, allocations: 247.1 kB / 0.7155 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.2749, allocations: 19.94 kB / 0.7155 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.2762, allocations: 99.89 kB / 0.7156 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000562/0.2767, allocations: 180.7 kB / 0.7158 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.2768, allocations: 24 kB / 0.7158 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001189/0.278, allocations: 0.8473 MB / 0.7166 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.278, allocations: 0 / 0.7166 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001327/0.2794, allocations: 475.8 kB / 0.7171 GB, free: 5.938 MB / 0.5137 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 (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.01144/0.2908, allocations: 4.706 MB / 0.7217 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006827/0.2977, allocations: 2.461 MB / 0.7241 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2977, allocations: 0 / 0.7241 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/0.3017, allocations: 1.352 MB / 0.7254 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3028, allocations: 112.6 kB / 0.7255 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/0.3293, allocations: 14.66 MB / 0.7398 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.3299, allocations: 1.109 MB / 0.7409 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004695/0.3304, allocations: 128.6 kB / 0.7411 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/0.3311, allocations: 0.4915 MB / 0.7415 GB, free: 12.63 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.3311, allocations: 0 / 0.7415 GB, free: 12.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.626, allocations: 36.17 MB / 0.7769 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.47, allocations: 6.031 kB / 0.7769 GB, free: 117.5 MB / 0.5606 GB (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 --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)