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.001313/0.001313, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001666/0.001666, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9234/0.9234, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7369/0.7369, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.226e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02738/0.02741, allocations: 38.15 MB / 0.6553 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.03822, allocations: 9.705 MB / 0.6648 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.03959, allocations: 79.31 kB / 0.6649 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.04086, allocations: 0.6402 MB / 0.6655 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.04447, allocations: 2.059 MB / 0.6675 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.04663, allocations: 1.289 MB / 0.6688 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.05013, allocations: 3.483 MB / 0.6722 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.05129, allocations: 0.8066 MB / 0.673 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.0545, allocations: 1.902 MB / 0.6748 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008839/0.05538, allocations: 0.7865 MB / 0.6756 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.05548, allocations: 100 kB / 0.6757 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.05678, allocations: 0.7208 MB / 0.6764 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.057, allocations: 310.7 kB / 0.6767 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.05736, allocations: 431 kB / 0.6771 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3372/0.3946, allocations: 1.963 MB / 0.679 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.3946, allocations: 0 / 0.679 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3946, allocations: 0 / 0.679 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.187e-05/0.3946, allocations: 2.938 kB / 0.679 GB, free: 51.64 MB / 0.6355 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.001571/0.3962, allocations: 1.465 MB / 0.6804 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.3962, allocations: 13.66 kB / 0.6805 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.3963, allocations: 116.6 kB / 0.6806 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3965, allocations: 140 kB / 0.6807 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.3974, allocations: 1.053 MB / 0.6817 GB, free: 50.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3975, allocations: 64.31 kB / 0.6818 GB, free: 50.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.3975, allocations: 68.97 kB / 0.6819 GB, free: 50.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.3983, allocations: 0.9472 MB / 0.6828 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3983, allocations: 3.562 kB / 0.6828 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.3984, allocations: 27.38 kB / 0.6828 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.3984, allocations: 20.53 kB / 0.6828 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.399, allocations: 0.5741 MB / 0.6834 GB, free: 50.25 MB / 0.6355 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.002053/0.401, allocations: 2.732 MB / 0.6861 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.4014, allocations: 245.7 kB / 0.6863 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4016, allocations: 171.1 kB / 0.6865 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.4017, allocations: 60.11 kB / 0.6865 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.4017, allocations: 40.72 kB / 0.6865 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.4017, allocations: 0 / 0.6865 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0006221/0.4024, allocations: 0.5188 MB / 0.6871 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.4024, allocations: 57.78 kB / 0.6871 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.4031, allocations: 0.9625 MB / 0.688 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4031, allocations: 37.2 kB / 0.6881 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4033, allocations: 0.4992 MB / 0.6886 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.4034, allocations: 119 kB / 0.6887 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4035, allocations: 116.7 kB / 0.6888 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.4035, allocations: 326 kB / 0.6891 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4037, allocations: 165.1 kB / 0.6893 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.404, allocations: 0.4971 MB / 0.6897 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.4045, allocations: 0.5113 MB / 0.6902 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4045, allocations: 0 / 0.6902 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006152/0.4051, allocations: 0.628 MB / 0.6909 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4051, allocations: 5.781 kB / 0.6909 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4051, allocations: 5.875 kB / 0.6909 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4051, allocations: 7.844 kB / 0.6909 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4053, allocations: 125.8 kB / 0.691 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4054, allocations: 14.06 kB / 0.691 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.4056, allocations: 90.28 kB / 0.6911 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.4057, allocations: 28.98 kB / 0.6911 GB, free: 47.39 MB / 0.6355 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.0002108/0.4059, allocations: 278.3 kB / 0.6914 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.406, allocations: 107.3 kB / 0.6915 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.4065, allocations: 495.5 kB / 0.692 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4065, allocations: 6.188 kB / 0.692 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4065, allocations: 0 / 0.692 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00038/0.4069, allocations: 462.3 kB / 0.6924 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.408, allocations: 1.235 MB / 0.6936 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.408, allocations: 3 kB / 0.6936 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.4081, allocations: 75.58 kB / 0.6937 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4081, allocations: 6 kB / 0.6937 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4082, allocations: 13.97 kB / 0.6937 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4082, allocations: 8.672 kB / 0.6937 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4082, allocations: 0 / 0.6937 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.4089, allocations: 0.769 MB / 0.6945 GB, free: 46.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.409, allocations: 155.3 kB / 0.6946 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.4091, allocations: 18.59 kB / 0.6946 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.4093, allocations: 27.44 kB / 0.6947 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.4094, allocations: 29.48 kB / 0.6947 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.4094, allocations: 21.64 kB / 0.6947 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005082/0.4099, allocations: 0.6646 MB / 0.6954 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4099, allocations: 0 / 0.6954 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006341/0.4106, allocations: 346.6 kB / 0.6957 GB, free: 46.2 MB / 0.6355 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.001129/0.4117, allocations: 1.592 MB / 0.6972 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4121, allocations: 414.3 kB / 0.6976 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4121, allocations: 1.203 kB / 0.6976 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.4124, allocations: 179.4 kB / 0.6978 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.4137, allocations: 0.6021 MB / 0.6984 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.4193, allocations: 6.834 MB / 0.7051 GB, free: 42.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.4195, allocations: 450.3 kB / 0.7055 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000421/0.42, allocations: 202.1 kB / 0.7057 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.4203, allocations: 372.9 kB / 0.7061 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/0.4203, allocations: 0 / 0.7061 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.4739, allocations: 32.76 MB / 0.7381 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.181, allocations: 15.33 kB / 0.7381 GB, free: 37.71 MB / 0.6355 GB " [Timeout remaining time 652] (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.037033619359136] Failed to read output from testmodel.py, exit status != 0: 8.274934047833085 8.284100756 7.887835368 Calling exit ...