Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.00131/0.00131, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.564/1.564, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.00125/0.00125, allocations: 176.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5563/0.5563, allocations: 91.93 MB / 433.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 8 kB / 0.5049 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4447, allocations: 72.47 MB / 0.5756 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004679/0.4494, allocations: 5.754 MB / 0.5813 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.4531, allocations: 1.801 MB / 0.583 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.4538, allocations: 14.88 kB / 0.583 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.4543, allocations: 155.8 kB / 0.5832 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.4558, allocations: 0.6085 MB / 0.5838 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4569, allocations: 0.5291 MB / 0.5843 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.4581, allocations: 1.218 MB / 0.5855 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.4584, allocations: 243.5 kB / 0.5857 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.459, allocations: 484.5 kB / 0.5862 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.4595, allocations: 0.6088 MB / 0.5868 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.4596, allocations: 49.09 kB / 0.5868 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.46, allocations: 179.9 kB / 0.587 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.4602, allocations: 204.1 kB / 0.5872 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.4605, allocations: 0.5284 MB / 0.5877 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.4615, allocations: 1.304 MB / 0.589 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4616, allocations: 0 / 0.589 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4616, allocations: 0 / 0.589 GB, free: 28.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4616, allocations: 1.375 kB / 0.589 GB, free: 28.84 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007428/0.469, allocations: 2.231 MB / 0.5911 GB, free: 27.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4691, allocations: 9.594 kB / 0.5912 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/0.4694, allocations: 115.7 kB / 0.5913 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.4746, allocations: 0.7628 MB / 0.592 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4759, allocations: 0.7195 MB / 0.5927 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.4762, allocations: 264.4 kB / 0.593 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.4763, allocations: 66.72 kB / 0.593 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4787, allocations: 1.051 MB / 0.5941 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4788, allocations: 4 kB / 0.5941 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.4789, allocations: 25.91 kB / 0.5941 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.4789, allocations: 16.22 kB / 0.5941 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.4814, allocations: 1.073 MB / 0.5952 GB, free: 26.17 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.005985/0.4873, allocations: 3.28 MB / 0.5984 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.4896, allocations: 1.412 MB / 0.5997 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.4912, allocations: 0.7842 MB / 0.6005 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/0.4913, allocations: 11.61 kB / 0.6005 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4914, allocations: 43.28 kB / 0.6006 GB, free: 23.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.178e-06/0.4914, allocations: 3.984 kB / 0.6006 GB, free: 23.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.03019/0.5216, allocations: 7.932 MB / 0.6083 GB, free: 21.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.5217, allocations: 69.25 kB / 0.6084 GB, free: 21.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5235, allocations: 0.8097 MB / 0.6092 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.5238, allocations: 43.02 kB / 0.6092 GB, free: 21.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.5242, allocations: 425.4 kB / 0.6096 GB, free: 20.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.5247, allocations: 308.3 kB / 0.6099 GB, free: 20.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.525, allocations: 96.77 kB / 0.61 GB, free: 20.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5251, allocations: 351.1 kB / 0.6103 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.5274, allocations: 0.7482 MB / 0.6111 GB, free: 19.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.5299, allocations: 0.8776 MB / 0.6119 GB, free: 19.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.5341, allocations: 1.607 MB / 0.6135 GB, free: 18.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.5341, allocations: 1.031 kB / 0.6135 GB, free: 18.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01804/0.5522, allocations: 5.112 MB / 0.6185 GB, free: 17.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.5522, allocations: 8.797 kB / 0.6185 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.5522, allocations: 4 kB / 0.6185 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007488/0.5597, allocations: 2.185 MB / 0.6206 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/0.5607, allocations: 179.8 kB / 0.6208 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.5827, allocations: 9.813 MB / 0.6304 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.5845, allocations: 191 kB / 0.6306 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.5848, allocations: 39.98 kB / 0.6306 GB, free: 4.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007306/0.5855, allocations: 225.6 kB / 0.6308 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.586, allocations: 102.8 kB / 0.6309 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.5998, allocations: 4.797 MB / 0.6356 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5999, allocations: 8 kB / 0.6356 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5999, allocations: 8 kB / 0.6356 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.5999, allocations: 3.984 kB / 0.6356 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.6179, allocations: 6.263 MB / 0.6417 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.6179, allocations: 0 / 0.6417 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.6187, allocations: 107.8 kB / 0.6418 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/0.6254, allocations: 2.05 MB / 0.6438 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.6256, allocations: 16 kB / 0.6438 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.6461, allocations: 8.214 MB / 0.6519 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6461, allocations: 0 / 0.6519 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.6634, allocations: 5.704 MB / 0.6574 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.664, allocations: 191.6 kB / 0.6576 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.6644, allocations: 19.94 kB / 0.6576 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6659, allocations: 131.9 kB / 0.6578 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007825/0.6667, allocations: 196.6 kB / 0.658 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6668, allocations: 23.98 kB / 0.658 GB, free: 8.391 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009901/0.6678, allocations: 0.5383 MB / 0.6585 GB, free: 7.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6678, allocations: 0 / 0.6585 GB, free: 7.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00194/0.6698, allocations: 411.7 kB / 0.6589 GB, free: 7.438 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01778/0.6876, allocations: 6.295 MB / 0.665 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008208/0.6959, allocations: 2.643 MB / 0.6676 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6959, allocations: 0 / 0.6676 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00554/0.7014, allocations: 1.705 MB / 0.6693 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7029, allocations: 85.3 kB / 0.6694 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04736/0.7503, allocations: 17.39 MB / 0.6864 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.7511, allocations: 1.037 MB / 0.6874 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00049/0.7516, allocations: 86.3 kB / 0.6874 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.7523, allocations: 383.3 kB / 0.6878 GB, free: 9.398 MB / 494.1 MB Notification: Performance of SimCode: time 1.903e-06/0.7523, allocations: 0 / 0.6878 GB, free: 9.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05774/0.8101, allocations: 28.63 MB / 0.7158 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.8104, allocations: 217.8 kB / 0.716 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.555, allocations: 3.938 kB / 0.716 GB, free: 12.69 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)