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.001077/0.001077, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.41/1.41, allocations: 222.9 MB / 239 MB, free: 4.738 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.001377/0.001378, allocations: 192.5 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5136/0.5136, allocations: 91.9 MB / 431.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 75.88 kB / 0.5015 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4226, allocations: 71.26 MB / 0.5711 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005044/0.4277, allocations: 6.194 MB / 0.5771 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.4306, allocations: 1.808 MB / 0.5789 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.431, allocations: 11.5 kB / 0.5789 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.4315, allocations: 157 kB / 0.5791 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4328, allocations: 0.6094 MB / 0.5797 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.4337, allocations: 0.5337 MB / 0.5802 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008991/0.4346, allocations: 1.27 MB / 0.5814 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.435, allocations: 282.3 kB / 0.5817 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.4354, allocations: 0.5332 MB / 0.5822 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.4359, allocations: 0.6606 MB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.4361, allocations: 93.53 kB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.4364, allocations: 222.1 kB / 0.5832 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.4366, allocations: 258.2 kB / 0.5834 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.4369, allocations: 0.5589 MB / 0.584 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.4378, allocations: 1.375 MB / 0.5853 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4378, allocations: 0 / 0.5853 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4378, allocations: 0 / 0.5853 GB, free: 28.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4378, allocations: 0 / 0.5853 GB, free: 28.41 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.007132/0.445, allocations: 2.369 MB / 0.5876 GB, free: 27.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.445, allocations: 13.09 kB / 0.5876 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.4452, allocations: 118.5 kB / 0.5877 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.4499, allocations: 0.7561 MB / 0.5885 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.4509, allocations: 0.7152 MB / 0.5892 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.4511, allocations: 261.7 kB / 0.5894 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.4513, allocations: 69.84 kB / 0.5895 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4532, allocations: 0.9688 MB / 0.5904 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4532, allocations: 1.125 kB / 0.5904 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.4533, allocations: 25.09 kB / 0.5905 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4533, allocations: 16.59 kB / 0.5905 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.4553, allocations: 0.9862 MB / 0.5914 GB, free: 25.64 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.004861/0.4602, allocations: 3.224 MB / 0.5946 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.4621, allocations: 1.339 MB / 0.5959 GB, free: 22.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4635, allocations: 0.7132 MB / 0.5966 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4636, allocations: 13.5 kB / 0.5966 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.4636, allocations: 46.03 kB / 0.5966 GB, free: 22.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.594e-06/0.4636, allocations: 0 / 0.5966 GB, free: 22.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02448/0.4881, allocations: 6.374 MB / 0.6029 GB, free: 21.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.4882, allocations: 66.06 kB / 0.6029 GB, free: 21.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4894, allocations: 0.8028 MB / 0.6037 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4896, allocations: 45.27 kB / 0.6038 GB, free: 20.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.4899, allocations: 430.2 kB / 0.6042 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.4902, allocations: 299.3 kB / 0.6045 GB, free: 20.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.4906, allocations: 192.9 kB / 0.6046 GB, free: 20.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.4907, allocations: 348.6 kB / 0.605 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4922, allocations: 0.6721 MB / 0.6056 GB, free: 19.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.4938, allocations: 0.8076 MB / 0.6064 GB, free: 19.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/0.4966, allocations: 1.461 MB / 0.6078 GB, free: 18.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4966, allocations: 1.469 kB / 0.6078 GB, free: 18.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01402/0.5106, allocations: 4.206 MB / 0.612 GB, free: 17.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.5107, allocations: 5.094 kB / 0.612 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.5107, allocations: 3.875 kB / 0.612 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007078/0.5178, allocations: 1.873 MB / 0.6138 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.5188, allocations: 182.4 kB / 0.614 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.5384, allocations: 9.567 MB / 0.6233 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.54, allocations: 159 kB / 0.6235 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.5401, allocations: 39.98 kB / 0.6235 GB, free: 8.551 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.0003887/0.5405, allocations: 225.6 kB / 0.6237 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.5406, allocations: 106.6 kB / 0.6238 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.5517, allocations: 3.876 MB / 0.6276 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5518, allocations: 12 kB / 0.6276 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5518, allocations: 3.984 kB / 0.6276 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5518, allocations: 7.984 kB / 0.6276 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.5648, allocations: 5.357 MB / 0.6329 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5649, allocations: 4 kB / 0.6329 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/0.5655, allocations: 91.89 kB / 0.6329 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.5716, allocations: 1.753 MB / 0.6347 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.5717, allocations: 19.98 kB / 0.6347 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.5909, allocations: 8.069 MB / 0.6426 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5909, allocations: 0 / 0.6426 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02324/0.6142, allocations: 4.715 MB / 0.6472 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.6148, allocations: 191.6 kB / 0.6473 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.6153, allocations: 16 kB / 0.6474 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.617, allocations: 87.89 kB / 0.6474 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/0.6181, allocations: 200.7 kB / 0.6476 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.6183, allocations: 20 kB / 0.6477 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.6197, allocations: 0.5382 MB / 0.6482 GB, free: 14.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6197, allocations: 4 kB / 0.6482 GB, free: 14.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002361/0.6221, allocations: 419.6 kB / 0.6486 GB, free: 14.49 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.01843/0.6405, allocations: 5.294 MB / 0.6538 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007621/0.6482, allocations: 2.415 MB / 0.6561 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6482, allocations: 0 / 0.6561 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.653, allocations: 1.523 MB / 0.6576 GB, free: 5.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6541, allocations: 87.27 kB / 0.6577 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/0.6942, allocations: 15.4 MB / 0.6727 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.695, allocations: 1.037 MB / 0.6737 GB, free: 4.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004382/0.6955, allocations: 78.3 kB / 0.6738 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.6961, allocations: 387.3 kB / 0.6742 GB, free: 3.844 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6961, allocations: 0 / 0.6742 GB, free: 3.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.7544, allocations: 30.57 MB / 0.704 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.7546, allocations: 210.6 kB / 0.7042 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.6, allocations: 0 / 0.7042 GB, free: 5.191 MB / 0.4981 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)