Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005991/0.005991, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5545/0.5545, allocations: 102.5 MB / 126.5 MB, free: 13.04 MB / 122.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.06964/0.06964, allocations: 18.23 MB / 176.4 MB, free: 11.66 MB / 170.8 MB " [Timeout remaining time 180] 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.0007861/0.0007861, allocations: 78.3 kB / 215.5 MB, free: 6.812 MB / 170.8 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.001042/0.001042, allocations: 162.8 kB / 254.6 MB, free: 15.59 MB / 218.8 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 0.832/0.832, allocations: 177.1 MB / 470.8 MB, free: 13.01 MB / 346.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo): time 0.002269/0.002269, allocations: 0.5522 MB / 0.5504 GB, free: 6.621 MB / 426.8 MB " [Timeout remaining time 180] Using package TILMedia_AddOn_Tests with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/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) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia_AddOn_Tests.Liquid.LiquidModel,fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia_AddOn_Tests.Liquid.LiquidModel,fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7443 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.155e-05, allocations: 4.641 kB / 0.7443 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidModel): time 0.001829/0.00185, allocations: 0.6978 MB / 0.745 GB, free: 100.4 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.003503, allocations: 1.762 MB / 0.7467 GB, free: 99.07 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.003533, allocations: 0.75 kB / 0.7467 GB, free: 99.07 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.003962, allocations: 135.7 kB / 0.7468 GB, free: 98.99 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.004078, allocations: 78.91 kB / 0.7469 GB, free: 98.94 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.004082, allocations: 0 / 0.7469 GB, free: 98.94 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.004142, allocations: 37.89 kB / 0.7469 GB, free: 98.92 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 2.555e-05/0.004167, allocations: 1.344 kB / 0.7469 GB, free: 98.92 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 3.487e-05/0.004202, allocations: 30.03 kB / 0.747 GB, free: 98.9 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.004257, allocations: 17.16 kB / 0.747 GB, free: 98.89 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.004265, allocations: 1.125 kB / 0.747 GB, free: 98.89 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.004455, allocations: 171.7 kB / 0.7472 GB, free: 98.8 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.004479, allocations: 7.25 kB / 0.7472 GB, free: 98.8 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.004496, allocations: 7.969 kB / 0.7472 GB, free: 98.79 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.004688, allocations: 189.8 kB / 0.7474 GB, free: 98.68 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00469, allocations: 5.406 kB / 0.7474 GB, free: 98.68 MB / 0.5574 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004691, allocations: 0 / 0.7474 GB, free: 98.68 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004695, allocations: 0 / 0.7474 GB, free: 98.68 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002225/0.004917, allocations: 305.8 kB / 0.7476 GB, free: 98.37 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.004949, allocations: 11 kB / 0.7477 GB, free: 98.37 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.736e-05/0.004966, allocations: 30.75 kB / 0.7477 GB, free: 98.33 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.005047, allocations: 15.58 kB / 0.7477 GB, free: 98.32 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.005351, allocations: 238.3 kB / 0.7479 GB, free: 98.11 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.00536, allocations: 1.5 kB / 0.7479 GB, free: 98.11 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.005366, allocations: 384 / 0.7479 GB, free: 98.11 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.005477, allocations: 53.94 kB / 0.748 GB, free: 98.06 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005483, allocations: 5.312 kB / 0.748 GB, free: 98.05 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.00549, allocations: 3.938 kB / 0.748 GB, free: 98.05 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.005494, allocations: 0 / 0.748 GB, free: 98.05 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.00554, allocations: 13.36 kB / 0.748 GB, free: 98.05 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.268e-05/0.005633, allocations: 137.1 kB / 0.7481 GB, free: 97.88 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.005693, allocations: 41.59 kB / 0.7482 GB, free: 97.82 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.005708, allocations: 15.88 kB / 0.7482 GB, free: 97.8 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.005742, allocations: 3.062 kB / 0.7482 GB, free: 97.8 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.005761, allocations: 36.7 kB / 0.7482 GB, free: 97.76 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.005762, allocations: 0.7188 kB / 0.7482 GB, free: 97.76 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.000205/0.005967, allocations: 64.66 kB / 0.7483 GB, free: 97.71 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.005986, allocations: 84.09 kB / 0.7484 GB, free: 97.62 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.006062, allocations: 128.3 kB / 0.7485 GB, free: 97.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.006066, allocations: 26.39 kB / 0.7485 GB, free: 97.47 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.006082, allocations: 84.91 kB / 0.7486 GB, free: 97.39 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006099, allocations: 10.05 kB / 0.7486 GB, free: 97.38 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.006123, allocations: 16.95 kB / 0.7486 GB, free: 97.36 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 2.831e-05/0.006152, allocations: 313.1 kB / 0.7489 GB, free: 97.05 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.006162, allocations: 5.875 kB / 0.7489 GB, free: 97.04 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.006178, allocations: 22.27 kB / 0.7489 GB, free: 97.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.006202, allocations: 16.31 kB / 0.749 GB, free: 97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006204, allocations: 1.125 kB / 0.749 GB, free: 97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.619e-05/0.00625, allocations: 44.73 kB / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006262, allocations: 10.36 kB / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006267, allocations: 5.062 kB / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.006277, allocations: 0 / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/0.006321, allocations: 5.25 kB / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006325, allocations: 1.094 kB / 0.749 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.006338, allocations: 5.062 kB / 0.749 GB, free: 96.95 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.006349, allocations: 2.906 kB / 0.749 GB, free: 96.95 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.687e-05/0.006386, allocations: 116.9 kB / 0.7491 GB, free: 96.83 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.006394, allocations: 10.3 kB / 0.7492 GB, free: 96.82 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.006502, allocations: 76.58 kB / 0.7492 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006504, allocations: 0 / 0.7492 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006508, allocations: 1.344 kB / 0.7492 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00651, allocations: 0 / 0.7492 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.359e-05/0.006564, allocations: 133.1 kB / 0.7494 GB, free: 96.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006565, allocations: 5.469 kB / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.006576, allocations: 7.125 kB / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006578, allocations: 1.031 kB / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006584, allocations: 6.375 kB / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006585, allocations: 0 / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006586, allocations: 1.031 kB / 0.7494 GB, free: 96.59 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.924e-05/0.006635, allocations: 76.56 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.006663, allocations: 6.328 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.006672, allocations: 5.031 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.006681, allocations: 2.375 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.006692, allocations: 2.125 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.006695, allocations: 1.062 kB / 0.7495 GB, free: 96.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.006734, allocations: 101.7 kB / 0.7496 GB, free: 96.41 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5e-08/0.006734, allocations: 0 / 0.7496 GB, free: 96.41 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0001757/0.00691, allocations: 45.92 kB / 0.7496 GB, free: 96.39 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000452/0.007362, allocations: 0.7897 MB / 0.7504 GB, free: 95.71 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.007424, allocations: 15.27 kB / 0.7504 GB, free: 95.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007426, allocations: 0 / 0.7504 GB, free: 95.7 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.007433, allocations: 4.438 kB / 0.7504 GB, free: 95.7 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.007535, allocations: 6.531 kB / 0.7504 GB, free: 95.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.008089, allocations: 1.204 MB / 0.7516 GB, free: 94.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.008118, allocations: 71.98 kB / 0.7517 GB, free: 94.42 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.008159, allocations: 25.22 kB / 0.7517 GB, free: 94.41 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.008193, allocations: 22.23 kB / 0.7517 GB, free: 94.39 MB / 0.5574 GB Notification: Performance of SimCode: time 6.42e-07/0.008194, allocations: 1.438 kB / 0.7517 GB, free: 94.39 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.02323, allocations: 3.008 MB / 0.7546 GB, free: 92.46 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.064, allocations: 8.469 kB / 0.7546 GB, free: 92.46 MB / 0.5574 GB " [Timeout remaining time 653] (rm -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe ; mkfifo TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe ; head -c 1048576 < TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe >> ../files/TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel.fmu > TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.250410161912441] Failed to read output from testmodel.py, exit status != 0: 7.345541839487851 7.352293143 7.346055346 Calling exit ...