Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008899/0.0008899, 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.0008941/0.0008941, 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7056/0.7056, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.675e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02883/0.02884, allocations: 38.17 MB / 0.6554 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.04086, allocations: 9.689 MB / 0.6649 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.04236, allocations: 79.31 kB / 0.6649 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.04368, allocations: 0.6441 MB / 0.6656 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.0475, allocations: 2.059 MB / 0.6676 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.0497, allocations: 1.297 MB / 0.6688 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.053, allocations: 3.479 MB / 0.6722 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.05406, allocations: 0.8067 MB / 0.673 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.05677, allocations: 1.896 MB / 0.6749 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.05777, allocations: 0.7904 MB / 0.6756 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.05797, allocations: 100 kB / 0.6757 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.05944, allocations: 0.7091 MB / 0.6764 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.05965, allocations: 306.7 kB / 0.6767 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.06003, allocations: 442.9 kB / 0.6771 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3192/0.3793, allocations: 1.954 MB / 0.6791 GB, free: 51.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3793, allocations: 1.719 kB / 0.6791 GB, free: 51.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3793, allocations: 0 / 0.6791 GB, free: 51.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.139e-05/0.3793, allocations: 3.844 kB / 0.6791 GB, free: 51.53 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.001738/0.381, allocations: 1.471 MB / 0.6805 GB, free: 50.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3811, allocations: 8.938 kB / 0.6805 GB, free: 50.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.693e-05/0.3812, allocations: 116.2 kB / 0.6806 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.3814, allocations: 140.4 kB / 0.6807 GB, free: 50.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3825, allocations: 1.059 MB / 0.6818 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3825, allocations: 60.09 kB / 0.6818 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.3826, allocations: 71.16 kB / 0.6819 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.3834, allocations: 0.9437 MB / 0.6828 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3834, allocations: 0 / 0.6828 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3835, allocations: 33.03 kB / 0.6829 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.3835, allocations: 22.66 kB / 0.6829 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.3841, allocations: 0.5729 MB / 0.6834 GB, free: 50.13 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.002169/0.3863, allocations: 2.728 MB / 0.6861 GB, free: 49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.3867, allocations: 243 kB / 0.6863 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.3869, allocations: 171 kB / 0.6865 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.387, allocations: 65.25 kB / 0.6866 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3871, allocations: 38.58 kB / 0.6866 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 3.958e-06/0.3871, allocations: 0.5 kB / 0.6866 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0007425/0.3878, allocations: 0.5201 MB / 0.6871 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.3878, allocations: 59.78 kB / 0.6872 GB, free: 48.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.3886, allocations: 0.9626 MB / 0.6881 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3887, allocations: 31.55 kB / 0.6881 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3889, allocations: 0.5009 MB / 0.6886 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.389, allocations: 121.5 kB / 0.6887 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3891, allocations: 114.2 kB / 0.6888 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.3892, allocations: 326.2 kB / 0.6892 GB, free: 47.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3894, allocations: 164.6 kB / 0.6893 GB, free: 47.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3896, allocations: 0.496 MB / 0.6898 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.3901, allocations: 0.5101 MB / 0.6903 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3901, allocations: 4 kB / 0.6903 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006954/0.3908, allocations: 0.6305 MB / 0.6909 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3908, allocations: 5.656 kB / 0.6909 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3908, allocations: 6.156 kB / 0.6909 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.3908, allocations: 9.531 kB / 0.6909 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3911, allocations: 120.7 kB / 0.6911 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3911, allocations: 17.48 kB / 0.6911 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3915, allocations: 92.25 kB / 0.6912 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.3916, allocations: 29.27 kB / 0.6912 GB, free: 47.28 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.000272/0.3918, allocations: 272.3 kB / 0.6914 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.3919, allocations: 108.8 kB / 0.6915 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.3925, allocations: 496.9 kB / 0.692 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3925, allocations: 6.109 kB / 0.692 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3925, allocations: 0 / 0.692 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000378/0.3929, allocations: 462.3 kB / 0.6925 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3942, allocations: 1.24 MB / 0.6937 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3942, allocations: 2.781 kB / 0.6937 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.3944, allocations: 73.7 kB / 0.6938 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3944, allocations: 2.812 kB / 0.6938 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3944, allocations: 15.97 kB / 0.6938 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3944, allocations: 4.469 kB / 0.6938 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3944, allocations: 3.094 kB / 0.6938 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007079/0.3951, allocations: 0.7772 MB / 0.6945 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.3953, allocations: 154.3 kB / 0.6947 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.3954, allocations: 9.812 kB / 0.6947 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3957, allocations: 29.47 kB / 0.6947 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3957, allocations: 30.94 kB / 0.6948 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3957, allocations: 21.19 kB / 0.6948 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005127/0.3962, allocations: 0.6657 MB / 0.6954 GB, free: 46.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3962, allocations: 0 / 0.6954 GB, free: 46.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007201/0.397, allocations: 345.4 kB / 0.6958 GB, free: 46.08 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.001241/0.3982, allocations: 1.595 MB / 0.6973 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006057/0.3988, allocations: 409.8 kB / 0.6977 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3988, allocations: 0 / 0.6977 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.399, allocations: 185.7 kB / 0.6979 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.4005, allocations: 0.6081 MB / 0.6985 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.4071, allocations: 6.82 MB / 0.7051 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.4073, allocations: 455 kB / 0.7056 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.408, allocations: 200.6 kB / 0.7058 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.4083, allocations: 376.7 kB / 0.7061 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/0.4083, allocations: 0 / 0.7061 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/0.4684, allocations: 32.76 MB / 0.7381 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.972, allocations: 8.172 kB / 0.7381 GB, free: 37.65 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.735262479633093] Failed to read output from testmodel.py, exit status != 0: 8.07106692250818 8.087657869 7.705375939 Calling exit ...