Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.0009909/0.000991, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.273/1.273, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009101, allocations: 89.52 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4588/0.4588, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.953e-05, allocations: 4 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 69.34 MB / 0.5481 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4375, allocations: 97.53 MB / 0.6433 GB, free: 3.016 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4378, allocations: 79.95 kB / 0.6434 GB, free: 2.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06274/0.5005, allocations: 23.89 MB / 0.6667 GB, free: 10.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5005, allocations: 0 / 0.6667 GB, free: 10.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.304e-05/0.5006, allocations: 19.94 kB / 0.6668 GB, free: 10.85 MB / 490.7 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.004387/0.505, allocations: 1.621 MB / 0.6683 GB, free: 9.184 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.505, allocations: 15.97 kB / 0.6684 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.5052, allocations: 118.5 kB / 0.6685 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.5085, allocations: 0.541 MB / 0.669 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5098, allocations: 0.6719 MB / 0.6697 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.5102, allocations: 264.1 kB / 0.6699 GB, free: 7.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.5103, allocations: 68 kB / 0.67 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.5118, allocations: 0.7962 MB / 0.6708 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.5119, allocations: 0 / 0.6708 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.512, allocations: 35.94 kB / 0.6708 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.512, allocations: 16 kB / 0.6708 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.5134, allocations: 0.7889 MB / 0.6716 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/0.5192, allocations: 3.264 MB / 0.6748 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.5206, allocations: 1.155 MB / 0.6759 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.5215, allocations: 0.5544 MB / 0.6764 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.5216, allocations: 12.73 kB / 0.6764 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5216, allocations: 39.34 kB / 0.6765 GB, free: 480 kB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/0.5216, allocations: 0 / 0.6765 GB, free: 480 kB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.2934/0.815, allocations: 3.984 MB / 0.6804 GB, free: 107 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.8151, allocations: 60.62 kB / 0.6804 GB, free: 106.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8161, allocations: 0.6677 MB / 0.6811 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.8163, allocations: 41.02 kB / 0.6811 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.8166, allocations: 449.2 kB / 0.6815 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.8169, allocations: 300.3 kB / 0.6818 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.817, allocations: 14.84 kB / 0.6818 GB, free: 106.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.817, allocations: 336.5 kB / 0.6822 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/0.8178, allocations: 422.1 kB / 0.6826 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.8186, allocations: 0.5178 MB / 0.6831 GB, free: 106.1 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.8196, allocations: 0.5566 MB / 0.6836 GB, free: 106 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.8196, allocations: 1.062 kB / 0.6836 GB, free: 106 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01251/0.8322, allocations: 4.218 MB / 0.6877 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8322, allocations: 9.641 kB / 0.6878 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.8322, allocations: 3.594 kB / 0.6878 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/0.8379, allocations: 1.817 MB / 0.6895 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.8385, allocations: 117.3 kB / 0.6896 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.8528, allocations: 7.506 MB / 0.697 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8541, allocations: 180 kB / 0.6971 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.8542, allocations: 29.19 kB / 0.6972 GB, free: 102.5 MB / 490.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.8544, allocations: 148.4 kB / 0.6973 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.8545, allocations: 104.6 kB / 0.6974 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.8674, allocations: 4.111 MB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.8675, allocations: 7.188 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8675, allocations: 11.23 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.8675, allocations: 3.844 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.885, allocations: 5.624 MB / 0.7069 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8851, allocations: 0 / 0.7069 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/0.8858, allocations: 94.62 kB / 0.707 GB, free: 97.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006728/0.8925, allocations: 1.678 MB / 0.7087 GB, free: 96.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/0.8928, allocations: 19.8 kB / 0.7087 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.9102, allocations: 6.328 MB / 0.7149 GB, free: 90.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9103, allocations: 0 / 0.7149 GB, free: 90.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.9233, allocations: 4.812 MB / 0.7196 GB, free: 86.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.9238, allocations: 194 kB / 0.7198 GB, free: 86.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.9241, allocations: 16 kB / 0.7198 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9253, allocations: 130 kB / 0.7199 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000666/0.926, allocations: 201.2 kB / 0.7201 GB, free: 86.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.9261, allocations: 23.47 kB / 0.7201 GB, free: 86.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007069/0.9268, allocations: 0.5239 MB / 0.7206 GB, free: 85.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9268, allocations: 0 / 0.7206 GB, free: 85.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001382/0.9282, allocations: 407.5 kB / 0.721 GB, free: 85.23 MB / 490.7 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 () * 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 (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.01305/0.9412, allocations: 5.407 MB / 0.7263 GB, free: 80.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005007/0.9463, allocations: 1.96 MB / 0.7282 GB, free: 78.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9463, allocations: 0 / 0.7282 GB, free: 78.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003998/0.9503, allocations: 1.455 MB / 0.7296 GB, free: 76.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.951, allocations: 67.33 kB / 0.7297 GB, free: 76.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.9537, allocations: 1.547 MB / 0.7312 GB, free: 75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.954, allocations: 1.056 MB / 0.7322 GB, free: 73.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.9543, allocations: 57.23 kB / 0.7323 GB, free: 73.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.9547, allocations: 371.3 kB / 0.7326 GB, free: 73.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.021e-06/0.9547, allocations: 0 / 0.7326 GB, free: 73.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.9966, allocations: 27.67 MB / 0.7597 GB, free: 46.26 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.9969, allocations: 182.5 kB / 0.7598 GB, free: 46.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.859, allocations: 0 / 0.7598 GB, free: 46.02 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)