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.001483/0.001482, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.365/1.365, allocations: 222.9 MB / 238.9 MB, free: 4.695 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.001256/0.001256, allocations: 180.5 kB / 289.1 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5468/0.5468, allocations: 91.9 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 76.06 kB / 0.5013 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3853, allocations: 71.26 MB / 0.5709 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005081/0.3904, allocations: 6.201 MB / 0.577 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.3932, allocations: 1.808 MB / 0.5787 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.3936, allocations: 11.06 kB / 0.5787 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.394, allocations: 168.4 kB / 0.5789 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3953, allocations: 0.6151 MB / 0.5795 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.3962, allocations: 0.5379 MB / 0.58 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.3972, allocations: 1.215 MB / 0.5812 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.3975, allocations: 254.3 kB / 0.5815 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.398, allocations: 0.4899 MB / 0.5819 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.3985, allocations: 0.6378 MB / 0.5826 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3986, allocations: 59.16 kB / 0.5826 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.399, allocations: 186 kB / 0.5828 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3991, allocations: 219.9 kB / 0.583 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3995, allocations: 0.5224 MB / 0.5835 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.4004, allocations: 1.328 MB / 0.5848 GB, free: 28.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4004, allocations: 0 / 0.5848 GB, free: 28.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4004, allocations: 4 kB / 0.5848 GB, free: 28.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4004, allocations: 0 / 0.5848 GB, free: 28.81 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.00724/0.4077, allocations: 2.383 MB / 0.5871 GB, free: 27.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4077, allocations: 9.75 kB / 0.5871 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.4079, allocations: 114.4 kB / 0.5873 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/0.4127, allocations: 0.7644 MB / 0.588 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.4137, allocations: 0.7198 MB / 0.5887 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.414, allocations: 250 kB / 0.5889 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.4141, allocations: 69.31 kB / 0.589 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.4161, allocations: 0.9747 MB / 0.59 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4161, allocations: 0 / 0.59 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.4162, allocations: 25.66 kB / 0.59 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.4163, allocations: 20.75 kB / 0.59 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.4184, allocations: 0.9779 MB / 0.591 GB, free: 26.04 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.005008/0.4234, allocations: 3.228 MB / 0.5941 GB, free: 24.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.4253, allocations: 1.335 MB / 0.5954 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4267, allocations: 0.7072 MB / 0.5961 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4269, allocations: 17.02 kB / 0.5961 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.4269, allocations: 43.81 kB / 0.5962 GB, free: 22.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.4269, allocations: 0 / 0.5962 GB, free: 22.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02659/0.4535, allocations: 6.373 MB / 0.6024 GB, free: 21.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4536, allocations: 72.16 kB / 0.6025 GB, free: 21.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.455, allocations: 0.8028 MB / 0.6032 GB, free: 21.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.4552, allocations: 41.69 kB / 0.6033 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.4555, allocations: 426.4 kB / 0.6037 GB, free: 20.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.4558, allocations: 307.2 kB / 0.604 GB, free: 20.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.4563, allocations: 192.6 kB / 0.6042 GB, free: 20.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.4563, allocations: 344.8 kB / 0.6045 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4579, allocations: 0.6808 MB / 0.6052 GB, free: 20 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4595, allocations: 0.7953 MB / 0.6059 GB, free: 19.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.4624, allocations: 1.466 MB / 0.6074 GB, free: 18.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4624, allocations: 0 / 0.6074 GB, free: 18.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01454/0.477, allocations: 4.205 MB / 0.6115 GB, free: 17.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.4771, allocations: 7.062 kB / 0.6115 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4771, allocations: 2.375 kB / 0.6115 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007419/0.4845, allocations: 1.876 MB / 0.6133 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4856, allocations: 175.7 kB / 0.6135 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.505, allocations: 8.799 MB / 0.6221 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5066, allocations: 155 kB / 0.6222 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/0.5067, allocations: 43.98 kB / 0.6223 GB, free: 9.625 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.0004286/0.5072, allocations: 225.5 kB / 0.6225 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5073, allocations: 106.7 kB / 0.6226 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.519, allocations: 3.883 MB / 0.6264 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.519, allocations: 8 kB / 0.6264 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.519, allocations: 0 / 0.6264 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.519, allocations: 11.97 kB / 0.6264 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.5323, allocations: 5.357 MB / 0.6316 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5324, allocations: 0 / 0.6316 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.533, allocations: 95.89 kB / 0.6317 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.5389, allocations: 1.745 MB / 0.6334 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.5391, allocations: 15.98 kB / 0.6334 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.5573, allocations: 7.347 MB / 0.6406 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5573, allocations: 0 / 0.6406 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.572, allocations: 4.716 MB / 0.6452 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.5726, allocations: 187.6 kB / 0.6454 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.5729, allocations: 19.94 kB / 0.6454 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.574, allocations: 91.89 kB / 0.6455 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/0.5747, allocations: 192.7 kB / 0.6457 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/0.5748, allocations: 23.98 kB / 0.6457 GB, free: 1.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008466/0.5757, allocations: 0.5422 MB / 0.6462 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5757, allocations: 0 / 0.6462 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001532/0.5772, allocations: 415.6 kB / 0.6466 GB, free: 300 kB / 446.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.01496/0.5922, allocations: 5.299 MB / 0.6518 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006965/0.5992, allocations: 2.334 MB / 0.6541 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.5993, allocations: 4 kB / 0.6541 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004758/0.604, allocations: 1.488 MB / 0.6555 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6053, allocations: 83.33 kB / 0.6556 GB, free: 7.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04045/0.6458, allocations: 15.41 MB / 0.6707 GB, free: 7.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.6465, allocations: 1.045 MB / 0.6717 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.6469, allocations: 78.3 kB / 0.6718 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.6475, allocations: 383.3 kB / 0.6721 GB, free: 5.758 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6475, allocations: 0 / 0.6721 GB, free: 5.758 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/0.7007, allocations: 29.21 MB / 0.7007 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.7009, allocations: 218.4 kB / 0.7009 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.308, allocations: 0 / 0.7009 GB, free: 8.453 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)