Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005538/0.005538, allocations: 170.4 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 99.5 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4488/0.4488, allocations: 78.6 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12 kB / 499.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 69.35 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004683/0.3724, allocations: 5.185 MB / 0.5609 GB, free: 38.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.3756, allocations: 1.772 MB / 0.5627 GB, free: 36.9 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.3764, allocations: 11.41 kB / 0.5627 GB, free: 36.9 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.3768, allocations: 146 kB / 0.5628 GB, free: 36.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3784, allocations: 0.6487 MB / 0.5634 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3797, allocations: 0.4917 MB / 0.5639 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3813, allocations: 0.8674 MB / 0.5648 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.3817, allocations: 215.5 kB / 0.565 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.3826, allocations: 484.2 kB / 0.5654 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009214/0.3835, allocations: 0.6029 MB / 0.566 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3837, allocations: 52.06 kB / 0.5661 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.3842, allocations: 169.6 kB / 0.5662 GB, free: 35.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3845, allocations: 211 kB / 0.5664 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.3847, allocations: 205.9 kB / 0.5666 GB, free: 34.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.3857, allocations: 1.001 MB / 0.5676 GB, free: 34.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3857, allocations: 3.938 kB / 0.5676 GB, free: 34.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3857, allocations: 1.219 kB / 0.5676 GB, free: 34.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3857, allocations: 0 / 0.5676 GB, free: 34.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007545/0.3933, allocations: 2.298 MB / 0.5699 GB, free: 33.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3933, allocations: 12.34 kB / 0.5699 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002177/0.3935, allocations: 120 kB / 0.57 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.3982, allocations: 0.7696 MB / 0.5707 GB, free: 33.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3994, allocations: 0.7161 MB / 0.5714 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.3996, allocations: 261.5 kB / 0.5717 GB, free: 32.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3997, allocations: 74.69 kB / 0.5718 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4016, allocations: 1.039 MB / 0.5728 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4017, allocations: 4 kB / 0.5728 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.4017, allocations: 33.95 kB / 0.5728 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4018, allocations: 14.34 kB / 0.5728 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.4037, allocations: 1.08 MB / 0.5739 GB, free: 31.81 MB / 426.7 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.005127/0.4089, allocations: 3.435 MB / 0.5772 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.4108, allocations: 1.426 MB / 0.5786 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/0.4109, allocations: 15.47 kB / 0.5786 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.4109, allocations: 38.53 kB / 0.5787 GB, free: 28.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 3.426e-06/0.4109, allocations: 0 / 0.5787 GB, free: 28.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.02645/0.4373, allocations: 8.119 MB / 0.5866 GB, free: 27.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.4374, allocations: 61.78 kB / 0.5867 GB, free: 27.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.4385, allocations: 0.8389 MB / 0.5875 GB, free: 26.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.4388, allocations: 40.92 kB / 0.5875 GB, free: 26.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4391, allocations: 437.7 kB / 0.5879 GB, free: 26.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.4394, allocations: 312.5 kB / 0.5882 GB, free: 26.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.4395, allocations: 25.41 kB / 0.5883 GB, free: 26.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.4396, allocations: 353.9 kB / 0.5886 GB, free: 26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.441, allocations: 0.7612 MB / 0.5893 GB, free: 25.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.4426, allocations: 0.8881 MB / 0.5902 GB, free: 25.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4444, allocations: 0.8131 MB / 0.591 GB, free: 25.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4444, allocations: 0 / 0.591 GB, free: 25.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01581/0.4602, allocations: 5.127 MB / 0.596 GB, free: 23.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.4603, allocations: 6.094 kB / 0.596 GB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.4603, allocations: 2.438 kB / 0.596 GB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/0.4682, allocations: 2.179 MB / 0.5981 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4694, allocations: 192.3 kB / 0.5983 GB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02554/0.4949, allocations: 10.16 MB / 0.6082 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.4968, allocations: 198.2 kB / 0.6084 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.497, allocations: 41.97 kB / 0.6085 GB, free: 19.07 MB / 426.7 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004755/0.4975, allocations: 227.6 kB / 0.6087 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4977, allocations: 105.1 kB / 0.6088 GB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.5117, allocations: 4.786 MB / 0.6135 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/0.5118, allocations: 12 kB / 0.6135 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5118, allocations: 0 / 0.6135 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/0.5118, allocations: 7.969 kB / 0.6135 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.5268, allocations: 6.336 MB / 0.6197 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.5269, allocations: 0 / 0.6197 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.5276, allocations: 107.9 kB / 0.6198 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/0.5336, allocations: 2.054 MB / 0.6218 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.5339, allocations: 16 kB / 0.6218 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.5525, allocations: 8.643 MB / 0.6302 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5526, allocations: 0 / 0.6302 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.5689, allocations: 5.747 MB / 0.6358 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.5694, allocations: 191.6 kB / 0.636 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.5696, allocations: 16 kB / 0.636 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5707, allocations: 135.9 kB / 0.6362 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/0.5713, allocations: 192.6 kB / 0.6364 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.5714, allocations: 24 kB / 0.6364 GB, free: 7.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008273/0.5723, allocations: 0.5702 MB / 0.6369 GB, free: 6.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5723, allocations: 0 / 0.6369 GB, free: 6.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00159/0.5739, allocations: 435.5 kB / 0.6374 GB, free: 6.039 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01689/0.5908, allocations: 6.311 MB / 0.6435 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007459/0.5983, allocations: 2.655 MB / 0.6461 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5983, allocations: 3.938 kB / 0.6461 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004971/0.6033, allocations: 1.726 MB / 0.6478 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.604, allocations: 68.17 kB / 0.6479 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.6085, allocations: 4.121 MB / 0.6519 GB, free: 7.012 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.6091, allocations: 1.072 MB / 0.6529 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.6094, allocations: 82.44 kB / 0.653 GB, free: 5.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.6099, allocations: 387.3 kB / 0.6534 GB, free: 5.449 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6099, allocations: 0 / 0.6534 GB, free: 5.449 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.6589, allocations: 28.26 MB / 0.681 GB, free: 9.375 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.6591, allocations: 199.9 kB / 0.6812 GB, free: 9.137 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.447, allocations: 4 kB / 0.6812 GB, free: 9.133 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)