Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.0008384/0.0008384, allocations: 80.48 kB / 19.92 MB, free: 4.625 MB / 18.57 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.0008583/0.0008583, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.87/0.87, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1288/0.1288, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 3.938 kB / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.671e-05, allocations: 9.938 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001767/0.001793, allocations: 0.4948 MB / 407.3 MB, free: 1.777 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.003935, allocations: 1.255 MB / 408.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.003951, allocations: 4 kB / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.003967, allocations: 0 / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.003973, allocations: 0 / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.005197, allocations: 0.5879 MB / 409.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.966e-05/0.005246, allocations: 0 / 409.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.005283, allocations: 4 kB / 409.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.005313, allocations: 0 / 409.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.044e-05/0.005333, allocations: 4 kB / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.00534, allocations: 0 / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.0114, allocations: 2.542 MB / 411.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.01141, allocations: 0 / 411.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.01143, allocations: 0 / 411.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.01169, allocations: 199.6 kB / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01169, allocations: 0 / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0117, allocations: 0 / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.0117, allocations: 3.938 kB / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002692/0.01197, allocations: 315.8 kB / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01201, allocations: 8.031 kB / 412.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.283e-05/0.01203, allocations: 30.75 kB / 412.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.01206, allocations: 4.938 kB / 412.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.914e-05/0.01211, allocations: 101.8 kB / 412.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.01211, allocations: 384 / 412.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.01212, allocations: 384 / 412.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.0122, allocations: 59.91 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.01221, allocations: 192 / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.01222, allocations: 3.938 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01222, allocations: 7.984 kB / 412.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.01224, allocations: 29.7 kB / 412.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.01233, allocations: 116.8 kB / 412.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.01237, allocations: 44.31 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.01239, allocations: 30.56 kB / 412.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.01239, allocations: 0 / 412.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.01243, allocations: 68.25 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.01243, allocations: 3.938 kB / 412.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.01259, allocations: 118.8 kB / 412.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.01262, allocations: 77.23 kB / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.773e-05/0.01265, allocations: 97.84 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.01266, allocations: 25.7 kB / 413 MB, free: 11.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.01267, allocations: 80.14 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.01269, allocations: 4 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.01271, allocations: 13.72 kB / 413.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.01278, allocations: 314.8 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.0128, allocations: 25.7 kB / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.061e-05/0.01281, allocations: 25.7 kB / 413.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.01284, allocations: 64.2 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01284, allocations: 4.062 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.682e-05/0.01289, allocations: 97.05 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.01292, allocations: 29.7 kB / 413.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01292, allocations: 0 / 413.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01293, allocations: 11.88 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.01293, allocations: 0 / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01294, allocations: 0 / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.01295, allocations: 0 / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.01296, allocations: 3.984 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.447e-05/0.01301, allocations: 135.5 kB / 413.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-06/0.01301, allocations: 4.031 kB / 413.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-06/0.01302, allocations: 3 kB / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01302, allocations: 3.938 kB / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01303, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01303, allocations: 7.938 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.013e-05/0.01309, allocations: 120.8 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.01309, allocations: 0 / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-06/0.01309, allocations: 3.984 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01309, allocations: 4 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.0131, allocations: 4 kB / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.0131, allocations: 3.938 kB / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0131, allocations: 4 kB / 414 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.667e-05/0.01318, allocations: 116.5 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-06/0.01318, allocations: 4 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.01319, allocations: 3.938 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-06/0.0132, allocations: 7.938 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/0.0132, allocations: 0 / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.01321, allocations: 0 / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.855e-05/0.01322, allocations: 75.28 kB / 414.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01322, allocations: 0 / 414.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.01341, allocations: 67.86 kB / 414.2 MB, free: 10.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000683/0.01409, allocations: 0.9735 MB / 415.2 MB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.01417, allocations: 110.8 kB / 415.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01417, allocations: 0 / 415.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.01427, allocations: 81.11 kB / 415.4 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.54e-05/0.01436, allocations: 15.88 kB / 415.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.01459, allocations: 160 kB / 415.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.01462, allocations: 59.34 kB / 415.6 MB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.09e-06/0.01463, allocations: 0 / 415.6 MB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.01464, allocations: 12.5 kB / 415.6 MB, free: 8.918 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.01464, allocations: 4.125 kB / 415.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.02912, allocations: 3.78 MB / 419.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.417/6.446, allocations: 0.7031 kB / 419.4 MB, free: 5.082 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.288786889985204] Failed to read output from testmodel.py, exit status != 0: 6.5241365702822804 6.53197532 6.51855504 Calling exit ...