Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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.000954/0.000954, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.0009898/0.0009898, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 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.876/0.876, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.05987/0.05987, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.1e-05, allocations: 3.125 kB / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002436/0.002457, allocations: 2.474 MB / 417.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003595, allocations: 0.786 MB / 418.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.003714, allocations: 6.562 kB / 418.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.003877, allocations: 49.73 kB / 418.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.004074, allocations: 144.6 kB / 418.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.004493, allocations: 132.9 kB / 418.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.004936, allocations: 0.558 MB / 419.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.005394, allocations: 352.6 kB / 419.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.005824, allocations: 247.8 kB / 419.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.006318, allocations: 318.3 kB / 420.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.00643, allocations: 65.28 kB / 420.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.006604, allocations: 97.58 kB / 420.3 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.006793, allocations: 230.5 kB / 420.5 MB, free: 9.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.007024, allocations: 238.8 kB / 420.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008409/0.007865, allocations: 0.8095 MB / 421.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.007871, allocations: 2.047 kB / 421.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007872, allocations: 0 / 421.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.007885, allocations: 4 kB / 421.5 MB, free: 9.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00131/0.009195, allocations: 0.7721 MB / 422.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.009244, allocations: 11.66 kB / 422.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.009329, allocations: 86.72 kB / 422.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.009425, allocations: 51.19 kB / 422.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.009823, allocations: 313.4 kB / 422.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.009852, allocations: 30.91 kB / 422.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.009921, allocations: 44.72 kB / 422.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.01075, allocations: 0.5701 MB / 423.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01076, allocations: 192 / 423.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01079, allocations: 24.34 kB / 423.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.0108, allocations: 14.22 kB / 423.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.01152, allocations: 0.5601 MB / 424 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.01373, allocations: 1.589 MB / 425.6 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.01431, allocations: 429.2 kB / 426 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.0147, allocations: 328.2 kB / 426.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.01474, allocations: 9.375 kB / 426.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.01476, allocations: 37.73 kB / 426.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002592/0.01502, allocations: 85.42 kB / 426.5 MB, free: 6.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.01502, allocations: 3.938 kB / 426.5 MB, free: 6.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003631/0.01865, allocations: 1.947 MB / 428.4 MB, free: 5.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.01868, allocations: 60.38 kB / 428.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.019, allocations: 371.6 kB / 428.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.01904, allocations: 31.02 kB / 428.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.01913, allocations: 221.2 kB / 429.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.01922, allocations: 162.8 kB / 429.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.01937, allocations: 104.6 kB / 429.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.01943, allocations: 356.6 kB / 429.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.0198, allocations: 284.9 kB / 430 MB, free: 4.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.0202, allocations: 357.3 kB / 430.3 MB, free: 4.496 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/0.02606, allocations: 2.413 MB / 432.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.02606, allocations: 1.094 kB / 432.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001362/0.02742, allocations: 0.852 MB / 433.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.02745, allocations: 11.44 kB / 433.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.02746, allocations: 2.25 kB / 433.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.02811, allocations: 203.9 kB / 433.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.02853, allocations: 146.9 kB / 433.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005106/0.02904, allocations: 1.168 MB / 435.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.02938, allocations: 25.94 kB / 435.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.02942, allocations: 22.86 kB / 435.2 MB, free: 2.008 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.02971, allocations: 187.8 kB / 435.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.02978, allocations: 42.66 kB / 435.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.031, allocations: 0.8233 MB / 436.2 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.03101, allocations: 5.438 kB / 436.2 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.03102, allocations: 0 / 436.2 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.03102, allocations: 3.984 kB / 436.2 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.03284, allocations: 1.361 MB / 437.6 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.03284, allocations: 0.75 kB / 437.6 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.03322, allocations: 116.1 kB / 437.7 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.03368, allocations: 160.5 kB / 437.9 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.03372, allocations: 13.23 kB / 437.9 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005847/0.03431, allocations: 1.161 MB / 439 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03431, allocations: 0 / 439 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.03577, allocations: 1.127 MB / 440.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.03587, allocations: 50.8 kB / 440.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.03593, allocations: 21.36 kB / 440.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.0361, allocations: 20.95 kB / 440.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.0362, allocations: 43.8 kB / 440.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.03623, allocations: 14.02 kB / 440.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.03646, allocations: 264.3 kB / 440.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03646, allocations: 3.938 kB / 440.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.0369, allocations: 142.3 kB / 440.7 MB, free: 14.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5],tube.T[6],tube.T[7],tube.T[8],tube.T[9],tube.T[10]) * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.03877, allocations: 1.692 MB / 442.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.03984, allocations: 0.6662 MB / 443.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.03984, allocations: 0 / 443.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.04038, allocations: 346.6 kB / 443.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.04084, allocations: 128.6 kB / 443.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.04771, allocations: 5.613 MB / 449.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.04789, allocations: 250.2 kB / 449.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.04821, allocations: 116.3 kB / 449.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.04845, allocations: 172.4 kB / 449.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/0.04846, allocations: 0 / 449.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.07606, allocations: 14.87 MB / 464.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.511, allocations: 3.938 kB / 464.5 MB, free: 6.867 MB / 362.7 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.491518975235522] Failed to read output from testmodel.py, exit status != 0: 8.602796251885593 8.611366627 8.6017727 Calling exit ...