Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8106/0.8106, allocations: 153.9 MB / 173.5 MB, free: 4.973 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005014, allocations: 11.97 kB / 250.6 MB, free: 4.469 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1705, allocations: 33.36 MB / 284 MB, free: 1.84 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.741/1.912, allocations: 307.3 MB / 0.5774 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1865/2.098, allocations: 162.6 MB / 0.7362 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/2.098, allocations: 8 kB / 0.7362 GB, free: 2.629 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:33:3-35:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:42:3-43:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004337/2.099, allocations: 129 kB / 0.7363 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/2.099, allocations: 103.1 kB / 0.7364 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008594/2.108, allocations: 3.405 MB / 0.7398 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004931/2.108, allocations: 371 kB / 0.7401 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/2.108, allocations: 151.7 kB / 0.7403 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/2.109, allocations: 163.4 kB / 0.7404 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/2.109, allocations: 155.3 kB / 0.7406 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/2.109, allocations: 32 kB / 0.7406 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/2.121, allocations: 7.612 MB / 0.748 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/2.121, allocations: 75.7 kB / 0.7481 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/2.122, allocations: 175.2 kB / 0.7483 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005969/2.128, allocations: 3.504 MB / 0.7517 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/2.128, allocations: 0 / 0.7517 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/2.128, allocations: 0 / 0.7517 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.428e-05/2.128, allocations: 4 kB / 0.7517 GB, free: 2.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001766/2.129, allocations: 0.77 MB / 0.7524 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/2.129, allocations: 13.44 kB / 0.7525 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.179e-05/2.129, allocations: 9.188 kB / 0.7525 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/2.129, allocations: 78.72 kB / 0.7525 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/2.13, allocations: 40.7 kB / 0.7526 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/2.13, allocations: 197.6 kB / 0.7528 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/2.13, allocations: 29 kB / 0.7528 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/2.13, allocations: 36 kB / 0.7528 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/2.131, allocations: 421.2 kB / 0.7532 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/2.131, allocations: 0 / 0.7532 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/2.131, allocations: 16 kB / 0.7532 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/2.131, allocations: 16 kB / 0.7533 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/2.131, allocations: 246.3 kB / 0.7535 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/2.133, allocations: 2.017 MB / 0.7555 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/2.134, allocations: 159.9 kB / 0.7556 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/2.134, allocations: 89.44 kB / 0.7557 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/2.15, allocations: 4.846 MB / 0.7604 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/2.15, allocations: 30.56 kB / 0.7605 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 3.797e-06/2.15, allocations: 4.922 kB / 0.7605 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001073/2.151, allocations: 344 kB / 0.7608 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/2.152, allocations: 55.41 kB / 0.7609 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/2.152, allocations: 293.7 kB / 0.7611 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/2.152, allocations: 25.7 kB / 0.7612 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/2.152, allocations: 180.6 kB / 0.7613 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/2.152, allocations: 91.25 kB / 0.7614 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/2.152, allocations: 45.7 kB / 0.7615 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001568/2.152, allocations: 335.9 kB / 0.7618 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/2.152, allocations: 68.19 kB / 0.7618 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/2.153, allocations: 145 kB / 0.762 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/2.153, allocations: 215.1 kB / 0.7622 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/2.153, allocations: 0 / 0.7622 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005498/2.153, allocations: 302.9 kB / 0.7625 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/2.154, allocations: 8 kB / 0.7625 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.154, allocations: 1.812 kB / 0.7625 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/2.154, allocations: 69.61 kB / 0.7626 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/2.154, allocations: 63.98 kB / 0.7626 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/2.155, allocations: 1.098 MB / 0.7637 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/2.155, allocations: 40.27 kB / 0.7637 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/2.155, allocations: 9.172 kB / 0.7637 GB, free: 6 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.155, allocations: 149.7 kB / 0.7639 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/2.155, allocations: 27.81 kB / 0.7639 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/2.156, allocations: 267 kB / 0.7642 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/2.156, allocations: 0 / 0.7642 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/2.156, allocations: 9.938 kB / 0.7642 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.156, allocations: 5.125 kB / 0.7642 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009901/2.157, allocations: 0.6245 MB / 0.7648 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/2.157, allocations: 3.938 kB / 0.7648 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/2.157, allocations: 27.98 kB / 0.7648 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/2.157, allocations: 65.77 kB / 0.7649 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/2.157, allocations: 4 kB / 0.7649 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/2.158, allocations: 1.094 MB / 0.7659 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.158, allocations: 4.156 kB / 0.766 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/2.159, allocations: 339.6 kB / 0.7663 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/2.159, allocations: 31.73 kB / 0.7663 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/2.159, allocations: 8 kB / 0.7663 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/2.159, allocations: 4 kB / 0.7663 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/2.159, allocations: 20.94 kB / 0.7663 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/2.159, allocations: 4 kB / 0.7663 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002077/2.159, allocations: 201.2 kB / 0.7665 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/2.159, allocations: 0 / 0.7665 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001246/2.16, allocations: 419.4 kB / 0.7669 GB, free: 2.555 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/2.162, allocations: 1.295 MB / 0.7682 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004825/2.163, allocations: 198.2 kB / 0.7684 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/2.163, allocations: 0 / 0.7684 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/2.163, allocations: 93.95 kB / 0.7685 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/2.164, allocations: 86.42 kB / 0.7686 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/2.167, allocations: 3.033 MB / 0.7715 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/2.168, allocations: 0.761 MB / 0.7723 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.702e-05/2.168, allocations: 36.23 kB / 0.7723 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/2.168, allocations: 91.41 kB / 0.7724 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/2.168, allocations: 0 / 0.7724 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/2.213, allocations: 18.75 MB / 0.7907 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.77, allocations: 5.391 kB / 0.7907 GB, free: 10.61 MB / 0.6544 GB " [Timeout remaining time 645] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.709386111004278] Failed to read output from testmodel.py, exit status != 0: 15.257651468040422 15.267523996 13.137881847 Calling exit ...