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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 252.7 MB, free: 8.324 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 222.6 kB / 309.2 MB, free: 3.18 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6122/0.6122, allocations: 101.4 MB / 467 MB, free: 10.37 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 91.86 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4174, allocations: 78.6 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005319/0.4227, allocations: 5.919 MB / 0.707 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.4257, allocations: 1.825 MB / 0.7088 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.4261, allocations: 9 kB / 0.7088 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.4266, allocations: 208.2 kB / 0.709 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.428, allocations: 0.7539 MB / 0.7097 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.4291, allocations: 0.567 MB / 0.7103 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.4302, allocations: 1.287 MB / 0.7115 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.4305, allocations: 198.7 kB / 0.7117 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.4311, allocations: 0.5464 MB / 0.7122 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.4318, allocations: 0.6761 MB / 0.7129 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.4319, allocations: 90.31 kB / 0.713 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.4324, allocations: 245.9 kB / 0.7132 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4325, allocations: 249.2 kB / 0.7135 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.4329, allocations: 0.5586 MB / 0.714 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.4343, allocations: 1.404 MB / 0.7154 GB, free: 168 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4343, allocations: 0 / 0.7154 GB, free: 168 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4343, allocations: 0 / 0.7154 GB, free: 168 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.4343, allocations: 0 / 0.7154 GB, free: 168 kB / 494.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.007824/0.4422, allocations: 2.36 MB / 0.7177 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4422, allocations: 9.812 kB / 0.7177 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.4424, allocations: 112.6 kB / 0.7178 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.4474, allocations: 0.767 MB / 0.7185 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4487, allocations: 0.6613 MB / 0.7192 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.4491, allocations: 299.7 kB / 0.7195 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.4492, allocations: 73.67 kB / 0.7195 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.4514, allocations: 0.9738 MB / 0.7205 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4514, allocations: 3.938 kB / 0.7205 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.4515, allocations: 25.88 kB / 0.7205 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4515, allocations: 18.69 kB / 0.7205 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.4536, allocations: 0.9869 MB / 0.7215 GB, free: 13.41 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 preOpt removeSimpleEquations (simulation): time 0.006318/0.4599, allocations: 3.157 MB / 0.7246 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.462, allocations: 0.8043 MB / 0.7254 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4636, allocations: 0.6383 MB / 0.726 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4637, allocations: 15.52 kB / 0.726 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4637, allocations: 39.53 kB / 0.726 GB, free: 11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.746e-06/0.4637, allocations: 0 / 0.726 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84): time 0.02518/0.4889, allocations: 6.266 MB / 0.7322 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.489, allocations: 64.72 kB / 0.7322 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4903, allocations: 0.816 MB / 0.733 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.4905, allocations: 45.11 kB / 0.7331 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.4909, allocations: 429.9 kB / 0.7335 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.4913, allocations: 311.3 kB / 0.7338 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.4917, allocations: 201.7 kB / 0.734 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4919, allocations: 343.2 kB / 0.7343 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4935, allocations: 0.6758 MB / 0.735 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.4951, allocations: 0.8053 MB / 0.7357 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.4983, allocations: 1.461 MB / 0.7372 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.4983, allocations: 1.125 kB / 0.7372 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01416/0.5125, allocations: 4.164 MB / 0.7412 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5125, allocations: 9.656 kB / 0.7412 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5125, allocations: 2.594 kB / 0.7412 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007327/0.5198, allocations: 1.875 MB / 0.7431 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.5207, allocations: 174.3 kB / 0.7432 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.545, allocations: 9.478 MB / 0.7525 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.5466, allocations: 155.3 kB / 0.7526 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5467, allocations: 40 kB / 0.7527 GB, free: 11.38 MB / 0.5137 GB 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.0004621/0.5472, allocations: 221.6 kB / 0.7529 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.5474, allocations: 119.2 kB / 0.753 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.5605, allocations: 3.837 MB / 0.7568 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5605, allocations: 8 kB / 0.7568 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5605, allocations: 0 / 0.7568 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5605, allocations: 15.92 kB / 0.7568 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.5756, allocations: 5.29 MB / 0.7619 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5756, allocations: 0 / 0.7619 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.5762, allocations: 99.86 kB / 0.762 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/0.5822, allocations: 1.741 MB / 0.7637 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.5824, allocations: 16 kB / 0.7638 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.6019, allocations: 7.973 MB / 0.7715 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6019, allocations: 0 / 0.7715 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/0.6171, allocations: 4.682 MB / 0.7761 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.6174, allocations: 119.1 kB / 0.7762 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.6176, allocations: 12 kB / 0.7762 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.6186, allocations: 95.83 kB / 0.7763 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/0.6192, allocations: 208.6 kB / 0.7765 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.6193, allocations: 23.94 kB / 0.7766 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007886/0.6201, allocations: 0.5421 MB / 0.7771 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6201, allocations: 0 / 0.7771 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001253/0.6213, allocations: 423.7 kB / 0.7775 GB, free: 1.664 MB / 0.5294 GB 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.0154/0.6367, allocations: 5.267 MB / 0.7826 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0069/0.6436, allocations: 2.274 MB / 0.7849 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.6436, allocations: 0 / 0.7849 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004753/0.6484, allocations: 1.448 MB / 0.7863 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.6493, allocations: 78.16 kB / 0.7863 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.6903, allocations: 14.6 MB / 0.8006 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008784/0.6912, allocations: 1.037 MB / 0.8016 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.6915, allocations: 82.3 kB / 0.8017 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.6921, allocations: 379.3 kB / 0.802 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.6921, allocations: 0 / 0.802 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07779/0.7699, allocations: 33.27 MB / 0.8345 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/17.79, allocations: 6.172 kB / 0.8345 GB, free: 7.109 MB / 0.5919 GB " [Timeout remaining time 642] (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 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.500829061027616] Failed to read output from testmodel.py, exit status != 0: 17.925648598000407 17.9418318 17.504295758 Calling exit ...