Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.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.0007768/0.0007768, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007907/0.0007907, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9106/0.9106, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6236/0.6236, allocations: 116 MB / 375.2 MB, free: 4.16 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5533 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.208e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.9262/0.9262, allocations: 416 MB / 0.9596 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.9503, allocations: 23.45 MB / 0.9825 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005471/0.9558, allocations: 382 kB / 0.9829 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006588/0.9624, allocations: 2.461 MB / 0.9853 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01898/0.9814, allocations: 8.546 MB / 0.9936 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.9927, allocations: 5.475 MB / 0.999 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.004, allocations: 9.652 MB / 1.008 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/1.007, allocations: 0.7478 MB / 1.009 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01395/1.02, allocations: 7.366 MB / 1.016 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/1.025, allocations: 1.982 MB / 1.018 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/1.026, allocations: 317 kB / 1.019 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/1.039, allocations: 5.456 MB / 1.024 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/1.04, allocations: 0.8901 MB / 1.025 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/1.043, allocations: 1.629 MB / 1.026 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/1.062, allocations: 10.64 MB / 1.037 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.062, allocations: 0 / 1.037 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/1.062, allocations: 0 / 1.037 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002101/1.062, allocations: 0 / 1.037 GB, free: 8.977 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 888 * Number of variables: 888 Notification: Performance of Generate backend data structure: time 0.01172/1.074, allocations: 6.633 MB / 1.043 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.074, allocations: 10.59 kB / 1.043 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004573/1.074, allocations: 474.5 kB / 1.044 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/1.079, allocations: 1.452 MB / 1.045 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/1.085, allocations: 3.386 MB / 1.048 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/1.086, allocations: 1.22 MB / 1.05 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008712/1.086, allocations: 358.3 kB / 1.05 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/1.092, allocations: 4.071 MB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/1.092, allocations: 8.062 kB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/1.092, allocations: 143.4 kB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/1.092, allocations: 86 kB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004484/1.097, allocations: 2.978 MB / 1.057 GB, free: 2.703 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/1.113, allocations: 12.62 MB / 1.069 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/1.116, allocations: 1.936 MB / 1.071 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.118, allocations: 0.9638 MB / 1.072 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/1.119, allocations: 0.7147 MB / 1.073 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.119, allocations: 84.06 kB / 1.073 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 4.779e-06/1.119, allocations: 0 / 1.073 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.03886/1.158, allocations: 30.19 MB / 1.102 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/1.158, allocations: 0.5183 MB / 1.103 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004317/1.162, allocations: 4.522 MB / 1.107 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005405/1.163, allocations: 69.02 kB / 1.107 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.164, allocations: 2.284 MB / 1.11 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.165, allocations: 0.9158 MB / 1.111 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008616/1.166, allocations: 0.7083 MB / 1.111 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/1.166, allocations: 305.1 kB / 1.112 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.168, allocations: 0.95 MB / 1.113 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/1.169, allocations: 1.504 MB / 1.114 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/1.173, allocations: 2.455 MB / 1.116 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.173, allocations: 4 kB / 1.116 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.006013/1.179, allocations: 3.49 MB / 1.12 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.179, allocations: 20.03 kB / 1.12 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.179, allocations: 16 kB / 1.12 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/1.18, allocations: 196 kB / 1.12 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.181, allocations: 0.8796 MB / 1.121 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/1.182, allocations: 1.169 MB / 1.122 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/1.185, allocations: 211.4 kB / 1.122 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/1.185, allocations: 411.9 kB / 1.123 GB, free: 10.84 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (340): * Single equations (assignments): 338 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.187, allocations: 0.5891 MB / 1.123 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.188, allocations: 0.5783 MB / 1.124 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007715/1.196, allocations: 6.159 MB / 1.13 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.196, allocations: 24 kB / 1.13 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.196, allocations: 8 kB / 1.13 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.196, allocations: 15.95 kB / 1.13 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.211, allocations: 10.96 MB / 1.14 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/1.211, allocations: 32.12 kB / 1.141 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.212, allocations: 0.5206 MB / 1.141 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/1.213, allocations: 205.6 kB / 1.141 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.213, allocations: 123.2 kB / 1.141 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/1.213, allocations: 1.178 MB / 1.143 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-05/1.213, allocations: 48.66 kB / 1.143 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/1.219, allocations: 5.035 MB / 1.147 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.221, allocations: 0.7594 MB / 1.148 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/1.222, allocations: 91.86 kB / 1.148 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.224, allocations: 139.9 kB / 1.148 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/1.224, allocations: 298.9 kB / 1.149 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.224, allocations: 176 kB / 1.149 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003608/1.228, allocations: 3.105 MB / 1.152 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/1.228, allocations: 0 / 1.152 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005642/1.234, allocations: 1.626 MB / 1.153 GB, free: 10.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 4 (p_out5.dp,p_out2.dp,pRatio2.dp,dp2.dp) * 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 (221): * Single equations (assignments): 219 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009635/1.243, allocations: 7.711 MB / 1.161 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004541/1.248, allocations: 2.298 MB / 1.163 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.276e-05/1.248, allocations: 8 kB / 1.163 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.25, allocations: 1.18 MB / 1.164 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008585/1.259, allocations: 2.399 MB / 1.167 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/1.305, allocations: 33.82 MB / 1.2 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.306, allocations: 1.849 MB / 1.202 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006014/1.312, allocations: 3.551 MB / 1.205 GB, free: 5.031 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/1.316, allocations: 2.572 MB / 1.208 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/1.316, allocations: 0 / 1.208 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3782/1.694, allocations: 154.3 MB / 1.358 GB, free: 0.5091 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.51, allocations: 9.688 kB / 1.358 GB, free: 0.5091 GB / 1.026 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.325991621240973] Failed to read output from testmodel.py, exit status != 0: 15.672487251460552 15.67750125 14.614457728 Calling exit ...