Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.0007987/0.0007987, 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.001198/0.001198, allocations: 170.3 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.9096/0.9096, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6996/0.6996, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.43e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02648/0.02651, allocations: 38.49 MB / 0.6557 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.03818, allocations: 10.43 MB / 0.6659 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.0399, allocations: 71.44 kB / 0.6659 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.04149, allocations: 0.574 MB / 0.6665 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.04532, allocations: 1.53 MB / 0.668 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.04805, allocations: 1.387 MB / 0.6693 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.05123, allocations: 2.723 MB / 0.672 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.05246, allocations: 0.8351 MB / 0.6728 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.05528, allocations: 1.598 MB / 0.6744 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009116/0.05619, allocations: 0.6892 MB / 0.675 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.05633, allocations: 108 kB / 0.6751 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.05752, allocations: 0.6783 MB / 0.6758 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.05773, allocations: 290.7 kB / 0.6761 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004064/0.05814, allocations: 426.9 kB / 0.6765 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3016/0.3597, allocations: 1.942 MB / 0.6784 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3597, allocations: 0 / 0.6784 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3597, allocations: 0 / 0.6784 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.051e-05/0.3598, allocations: 0 / 0.6784 GB, free: 49.77 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002013/0.3618, allocations: 1.481 MB / 0.6798 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3619, allocations: 8.844 kB / 0.6798 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.362, allocations: 125.5 kB / 0.68 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008949/0.3629, allocations: 333.2 kB / 0.6803 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.364, allocations: 0.9007 MB / 0.6812 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.3641, allocations: 63.53 kB / 0.6812 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.3642, allocations: 75 kB / 0.6813 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.3654, allocations: 1.135 MB / 0.6824 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3654, allocations: 5.469 kB / 0.6824 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.3655, allocations: 30.25 kB / 0.6824 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3655, allocations: 19.75 kB / 0.6825 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.3667, allocations: 0.8247 MB / 0.6833 GB, free: 48.41 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.00317/0.3699, allocations: 3.361 MB / 0.6865 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.3708, allocations: 0.5786 MB / 0.6871 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.3712, allocations: 294.1 kB / 0.6874 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.3715, allocations: 121.1 kB / 0.6875 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.3721, allocations: 0.5262 MB / 0.688 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.085e-06/0.3721, allocations: 3.047 kB / 0.688 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.001664/0.3738, allocations: 0.975 MB / 0.689 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3739, allocations: 108.6 kB / 0.6891 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.3746, allocations: 0.9039 MB / 0.69 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3747, allocations: 35.05 kB / 0.69 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3749, allocations: 499.8 kB / 0.6905 GB, free: 46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3751, allocations: 169.7 kB / 0.6906 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.3752, allocations: 129.2 kB / 0.6907 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.3753, allocations: 334.5 kB / 0.6911 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.3759, allocations: 325.5 kB / 0.6914 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.3765, allocations: 0.6347 MB / 0.692 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.3774, allocations: 0.7833 MB / 0.6928 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3774, allocations: 6.219 kB / 0.6928 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001517/0.3789, allocations: 0.9577 MB / 0.6937 GB, free: 44.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.379, allocations: 38.77 kB / 0.6937 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.379, allocations: 5.406 kB / 0.6937 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.379, allocations: 7.875 kB / 0.6938 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.3796, allocations: 197.2 kB / 0.6939 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.3796, allocations: 17.34 kB / 0.694 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.3802, allocations: 120.6 kB / 0.6941 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.3802, allocations: 39.12 kB / 0.6941 GB, free: 44.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0003984/0.3806, allocations: 278 kB / 0.6944 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3808, allocations: 105.5 kB / 0.6945 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3823, allocations: 1.088 MB / 0.6955 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.3823, allocations: 8.281 kB / 0.6955 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3823, allocations: 5.594 kB / 0.6956 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3823, allocations: 7.375 kB / 0.6956 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.3847, allocations: 1.92 MB / 0.6974 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3847, allocations: 2.875 kB / 0.6974 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.3852, allocations: 153.3 kB / 0.6976 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.3852, allocations: 10.45 kB / 0.6976 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3852, allocations: 23.44 kB / 0.6976 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3852, allocations: 2.719 kB / 0.6976 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3852, allocations: 2.75 kB / 0.6976 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.387, allocations: 1.481 MB / 0.6991 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.3874, allocations: 204.4 kB / 0.6993 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.3875, allocations: 25.36 kB / 0.6993 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.3878, allocations: 65.17 kB / 0.6993 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.3879, allocations: 50.28 kB / 0.6994 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.388, allocations: 24.2 kB / 0.6994 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005836/0.3886, allocations: 0.6391 MB / 0.7 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3886, allocations: 3.938 kB / 0.7 GB, free: 43.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009414/0.3895, allocations: 377.9 kB / 0.7004 GB, free: 43.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.003068/0.3926, allocations: 2.667 MB / 0.703 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.3938, allocations: 0.8185 MB / 0.7038 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3938, allocations: 4.266 kB / 0.7038 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.3943, allocations: 388.6 kB / 0.7042 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.3957, allocations: 484 kB / 0.7046 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.4079, allocations: 8.469 MB / 0.7129 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4082, allocations: 454.6 kB / 0.7134 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007925/0.409, allocations: 225.4 kB / 0.7136 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.4094, allocations: 411.3 kB / 0.714 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/0.4094, allocations: 0 / 0.714 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.4668, allocations: 33.36 MB / 0.7465 GB, free: 32.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.236, allocations: 2.781 kB / 0.7465 GB, free: 32.05 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.951655877754092] Failed to read output from testmodel.py, exit status != 0: 8.351812473498285 8.358094882 7.996627014 Calling exit ...