Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001154/0.001154, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.000907/0.000907, allocations: 218.3 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7862/0.7862, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 66.41 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4558, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03097/0.4868, allocations: 42.55 MB / 0.8594 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4985, allocations: 10.46 MB / 0.8696 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.4999, allocations: 80.88 kB / 0.8697 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.5012, allocations: 0.6658 MB / 0.8704 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.5046, allocations: 2.025 MB / 0.8723 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.5068, allocations: 1.271 MB / 0.8736 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.5105, allocations: 3.494 MB / 0.877 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.5114, allocations: 0.8213 MB / 0.8778 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.5135, allocations: 1.465 MB / 0.8792 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.5144, allocations: 0.9231 MB / 0.8801 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.5145, allocations: 99.34 kB / 0.8802 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.5161, allocations: 0.9345 MB / 0.8811 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.5164, allocations: 292.3 kB / 0.8814 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.5168, allocations: 0.6377 MB / 0.882 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.5189, allocations: 1.99 MB / 0.884 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5189, allocations: 0 / 0.884 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5189, allocations: 0 / 0.884 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.5189, allocations: 1.219 kB / 0.884 GB, free: 15.93 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001775/0.5207, allocations: 1.486 MB / 0.8854 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5207, allocations: 9.812 kB / 0.8855 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.5208, allocations: 118.2 kB / 0.8856 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.521, allocations: 142 kB / 0.8857 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5223, allocations: 1.062 MB / 0.8867 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.5223, allocations: 58.89 kB / 0.8868 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.5224, allocations: 67.53 kB / 0.8869 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.5233, allocations: 0.7955 MB / 0.8876 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5233, allocations: 1.188 kB / 0.8876 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.5234, allocations: 26.94 kB / 0.8877 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.5234, allocations: 22.55 kB / 0.8877 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.5241, allocations: 0.5724 MB / 0.8882 GB, free: 12.95 MB / 0.6667 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.002648/0.5267, allocations: 3.643 MB / 0.8918 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.5271, allocations: 251.1 kB / 0.892 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.5273, allocations: 162.9 kB / 0.8922 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.5274, allocations: 63.95 kB / 0.8923 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.5275, allocations: 34.56 kB / 0.8923 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.313e-06/0.5275, allocations: 0 / 0.8923 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0006746/0.5281, allocations: 0.5298 MB / 0.8928 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5282, allocations: 51.41 kB / 0.8929 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.5289, allocations: 0.9538 MB / 0.8938 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.5289, allocations: 37.7 kB / 0.8938 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.5292, allocations: 0.5043 MB / 0.8943 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.5293, allocations: 119 kB / 0.8944 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5294, allocations: 110.2 kB / 0.8945 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.5295, allocations: 333.9 kB / 0.8949 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.5297, allocations: 165.2 kB / 0.895 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.53, allocations: 351.8 kB / 0.8953 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.5304, allocations: 0.5043 MB / 0.8958 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5304, allocations: 0 / 0.8958 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006611/0.5311, allocations: 0.6252 MB / 0.8964 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5311, allocations: 11.94 kB / 0.8965 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5311, allocations: 4.688 kB / 0.8965 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5311, allocations: 8 kB / 0.8965 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.5314, allocations: 131.8 kB / 0.8966 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5314, allocations: 8 kB / 0.8966 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.5317, allocations: 83.44 kB / 0.8967 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.5317, allocations: 27.94 kB / 0.8967 GB, free: 4.562 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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 0.0002307/0.532, allocations: 281.8 kB / 0.897 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.5321, allocations: 107.3 kB / 0.8971 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.5326, allocations: 498.2 kB / 0.8976 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.5326, allocations: 4 kB / 0.8976 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5326, allocations: 0 / 0.8976 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000402/0.533, allocations: 461.2 kB / 0.898 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5343, allocations: 1.342 MB / 0.8993 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5343, allocations: 4 kB / 0.8993 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5344, allocations: 87.75 kB / 0.8994 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5344, allocations: 4 kB / 0.8994 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5345, allocations: 8 kB / 0.8994 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5345, allocations: 0 / 0.8994 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5345, allocations: 4 kB / 0.8994 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.5352, allocations: 0.7763 MB / 0.9002 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.5354, allocations: 163.1 kB / 0.9003 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.5355, allocations: 8.062 kB / 0.9003 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.5357, allocations: 27.97 kB / 0.9004 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.5358, allocations: 23.95 kB / 0.9004 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.5358, allocations: 23.98 kB / 0.9004 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005513/0.5363, allocations: 0.6746 MB / 0.9011 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.5363, allocations: 0 / 0.9011 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006454/0.537, allocations: 343.2 kB / 0.9014 GB, free: 15.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001272/0.5382, allocations: 1.585 MB / 0.9029 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.5387, allocations: 408.4 kB / 0.9033 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5387, allocations: 0 / 0.9033 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.539, allocations: 181.4 kB / 0.9035 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5404, allocations: 0.6027 MB / 0.9041 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.5464, allocations: 6.871 MB / 0.9108 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.5468, allocations: 1.048 MB / 0.9118 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000485/0.5473, allocations: 203.6 kB / 0.912 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.5476, allocations: 375.3 kB / 0.9124 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.5476, allocations: 3.938 kB / 0.9124 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.5871, allocations: 30.28 MB / 0.9419 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.067, allocations: 0 / 0.9419 GB, free: 6.051 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.964673030888662] Failed to read output from testmodel.py, exit status != 0: 9.161444840952754 9.168505191 8.647736309999999 Calling exit ...