Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.001835/0.001835, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] 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.002533/0.002533, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002993/0.002993, allocations: 0.5866 MB / 313.8 MB, free: 2.5 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09646, allocations: 53.53 MB / 489.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002783/0.09924, allocations: 1.667 MB / 491.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000271/0.09951, allocations: 99.62 kB / 491.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.09957, allocations: 0 / 491.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.09962, allocations: 15.86 kB / 491.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.09971, allocations: 31.7 kB / 491.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.09983, allocations: 23.97 kB / 491.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.09997, allocations: 107.5 kB / 491.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1001, allocations: 27.98 kB / 491.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1002, allocations: 47.84 kB / 491.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.1002, allocations: 39.84 kB / 491.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1003, allocations: 8 kB / 491.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.1003, allocations: 12 kB / 491.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.1003, allocations: 19.92 kB / 491.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.1004, allocations: 47.75 kB / 491.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1005, allocations: 107.8 kB / 491.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1005, allocations: 4 kB / 491.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1005, allocations: 0 / 491.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1005, allocations: 0 / 491.7 MB, free: 9.199 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000474/0.101, allocations: 318.2 kB / 492 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.101, allocations: 12.02 kB / 492.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.1011, allocations: 4.375 kB / 492.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1011, allocations: 50.69 kB / 492.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1011, allocations: 12.84 kB / 492.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1013, allocations: 122.5 kB / 492.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1013, allocations: 8.562 kB / 492.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1013, allocations: 24.08 kB / 492.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1015, allocations: 94.84 kB / 492.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1015, allocations: 0 / 492.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1015, allocations: 4 kB / 492.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1015, allocations: 7.984 kB / 492.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1017, allocations: 63.89 kB / 492.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.1022, allocations: 347.8 kB / 492.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1024, allocations: 102.5 kB / 492.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.1024, allocations: 36.84 kB / 492.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1024, allocations: 3.938 kB / 492.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1025, allocations: 34.56 kB / 493 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1025, allocations: 0 / 493 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001064/0.1035, allocations: 0.5387 MB / 493.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1036, allocations: 51.41 kB / 493.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1037, allocations: 123.2 kB / 493.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1037, allocations: 25.7 kB / 493.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1038, allocations: 108.3 kB / 493.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.1038, allocations: 63.47 kB / 493.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.1039, allocations: 33.7 kB / 493.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.104, allocations: 322.8 kB / 494.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.1041, allocations: 31.98 kB / 494.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.1042, allocations: 58.56 kB / 494.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1043, allocations: 106.5 kB / 494.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1043, allocations: 0 / 494.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002097/0.1045, allocations: 137.5 kB / 494.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1045, allocations: 11.98 kB / 494.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1046, allocations: 0 / 494.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1046, allocations: 3.938 kB / 494.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1047, allocations: 35.98 kB / 494.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1047, allocations: 0 / 494.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.1048, allocations: 7.938 kB / 494.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1048, allocations: 4 kB / 494.6 MB, free: 6.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1049, allocations: 129.9 kB / 494.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.1049, allocations: 11.89 kB / 494.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.105, allocations: 20.77 kB / 494.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.105, allocations: 4 kB / 494.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.105, allocations: 64 / 494.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.105, allocations: 4 kB / 494.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.1057, allocations: 482.8 kB / 495.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1057, allocations: 0 / 495.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.1058, allocations: 20 kB / 495.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.1059, allocations: 24.84 kB / 495.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1059, allocations: 7.938 kB / 495.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.107, allocations: 1.271 MB / 496.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.107, allocations: 0 / 496.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1074, allocations: 309.6 kB / 496.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.1074, allocations: 7.953 kB / 496.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1074, allocations: 0 / 496.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.1075, allocations: 8 kB / 496.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1075, allocations: 19.97 kB / 496.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1075, allocations: 8 kB / 496.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.821e-05/0.1076, allocations: 95.2 kB / 497 MB, free: 3.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1076, allocations: 0 / 497 MB, free: 3.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1079, allocations: 28 kB / 497 MB, free: 3.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000696/0.1086, allocations: 0.8405 MB / 497.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1087, allocations: 83.91 kB / 497.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1087, allocations: 0 / 497.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.109, allocations: 170.9 kB / 498.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1094, allocations: 20.44 kB / 498.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1113, allocations: 1.799 MB / 499.9 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1116, allocations: 0.7084 MB / 0.4889 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.815e-05/0.1117, allocations: 9.078 kB / 0.4889 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.1117, allocations: 27.44 kB / 0.4889 GB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1117, allocations: 0 / 0.4889 GB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.1364, allocations: 3.056 MB / 0.4919 GB, free: 12.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.06, allocations: 7.922 kB / 0.4919 GB, free: 12.73 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.869661676988471] Failed to read output from testmodel.py, exit status != 0: 12.22726309497375 12.457147545 12.148342354 Calling exit ...