Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.004652/0.004652, allocations: 103.5 kB / 15.74 MB, free: 5.957 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.445 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.001299/0.001299, allocations: 184.4 kB / 289.7 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4306/0.4306, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 79.88 kB / 0.5531 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.283, allocations: 68.17 MB / 0.6197 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004527/0.2876, allocations: 5.945 MB / 0.6255 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.2901, allocations: 1.798 MB / 0.6273 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.2905, allocations: 11.94 kB / 0.6273 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.2909, allocations: 214.2 kB / 0.6275 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.2923, allocations: 0.7404 MB / 0.6282 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.2932, allocations: 0.5802 MB / 0.6288 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.2943, allocations: 1.347 MB / 0.6301 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.2946, allocations: 289.4 kB / 0.6304 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.2953, allocations: 0.5524 MB / 0.6309 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.296, allocations: 0.6923 MB / 0.6316 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2961, allocations: 96 kB / 0.6317 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.2966, allocations: 231.9 kB / 0.6319 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.2968, allocations: 266.8 kB / 0.6322 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.2972, allocations: 0.5748 MB / 0.6327 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.2987, allocations: 1.425 MB / 0.6341 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2987, allocations: 3.938 kB / 0.6341 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2987, allocations: 7.984 kB / 0.6341 GB, free: 11.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.2987, allocations: 0 / 0.6341 GB, free: 11.31 MB / 446.1 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.007868/0.3066, allocations: 2.438 MB / 0.6365 GB, free: 8.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3067, allocations: 12.03 kB / 0.6365 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3068, allocations: 114.5 kB / 0.6366 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.3118, allocations: 0.7634 MB / 0.6374 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3132, allocations: 0.7439 MB / 0.6381 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.3134, allocations: 256.2 kB / 0.6383 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3136, allocations: 64 kB / 0.6384 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.3157, allocations: 0.9872 MB / 0.6394 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3157, allocations: 0 / 0.6394 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.3158, allocations: 31.94 kB / 0.6394 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3158, allocations: 16 kB / 0.6394 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.318, allocations: 1.003 MB / 0.6404 GB, free: 4.734 MB / 446.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.005506/0.3235, allocations: 3.254 MB / 0.6436 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.3255, allocations: 1.357 MB / 0.6449 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.3269, allocations: 0.7305 MB / 0.6456 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.327, allocations: 9 kB / 0.6456 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.327, allocations: 39.56 kB / 0.6456 GB, free: 15.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/0.3271, allocations: 0 / 0.6456 GB, free: 15.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02473/0.3518, allocations: 6.563 MB / 0.6521 GB, free: 8.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3519, allocations: 64.34 kB / 0.6521 GB, free: 8.383 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.353, allocations: 0.8546 MB / 0.653 GB, free: 7.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/0.3533, allocations: 41.7 kB / 0.653 GB, free: 7.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.3536, allocations: 436.5 kB / 0.6534 GB, free: 7.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.354, allocations: 307.6 kB / 0.6537 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.3544, allocations: 198.8 kB / 0.6539 GB, free: 6.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3545, allocations: 353.9 kB / 0.6542 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.356, allocations: 0.6858 MB / 0.6549 GB, free: 5.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3577, allocations: 0.8267 MB / 0.6557 GB, free: 4.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.3606, allocations: 1.486 MB / 0.6572 GB, free: 3.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3606, allocations: 0 / 0.6572 GB, free: 3.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01378/0.3744, allocations: 4.269 MB / 0.6613 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3744, allocations: 8 kB / 0.6613 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3745, allocations: 4 kB / 0.6613 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006568/0.381, allocations: 1.85 MB / 0.6631 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/0.382, allocations: 183.7 kB / 0.6633 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.4031, allocations: 9.459 MB / 0.6726 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4046, allocations: 159 kB / 0.6727 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4048, allocations: 39.98 kB / 0.6727 GB, free: 2.973 MB / 478.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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003706/0.4051, allocations: 221.7 kB / 0.673 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.4053, allocations: 114.6 kB / 0.6731 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.417, allocations: 3.88 MB / 0.6769 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4171, allocations: 8 kB / 0.6769 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4171, allocations: 4 kB / 0.6769 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.4171, allocations: 7.922 kB / 0.6769 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.4308, allocations: 5.419 MB / 0.6822 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.4308, allocations: 7.984 kB / 0.6822 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.4315, allocations: 95.83 kB / 0.6823 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005584/0.4371, allocations: 1.749 MB / 0.684 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.4373, allocations: 16 kB / 0.684 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.4546, allocations: 8.044 MB / 0.6918 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4546, allocations: 0 / 0.6918 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.4683, allocations: 4.771 MB / 0.6965 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.4686, allocations: 207.5 kB / 0.6967 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.4688, allocations: 12 kB / 0.6967 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/0.4697, allocations: 95.89 kB / 0.6968 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/0.4703, allocations: 200.7 kB / 0.697 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.4704, allocations: 20 kB / 0.697 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006908/0.4711, allocations: 0.578 MB / 0.6976 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4711, allocations: 0 / 0.6976 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00114/0.4722, allocations: 423.6 kB / 0.698 GB, free: 8.754 MB / 0.4981 GB 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 (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.01379/0.486, allocations: 5.34 MB / 0.7032 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006451/0.4925, allocations: 2.414 MB / 0.7056 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4926, allocations: 0 / 0.7056 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.4968, allocations: 1.519 MB / 0.707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.4976, allocations: 87.27 kB / 0.7071 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/0.534, allocations: 14.92 MB / 0.7217 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.5346, allocations: 1.045 MB / 0.7227 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.535, allocations: 86.38 kB / 0.7228 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.5355, allocations: 391.3 kB / 0.7232 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5355, allocations: 0 / 0.7232 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/0.5959, allocations: 32.52 MB / 0.7549 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.78, allocations: 14.14 kB / 0.7549 GB, free: 14.25 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)