Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.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.0007166/0.0007166, 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.0008391/0.0008391, 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.8806/0.8806, 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.7297/0.7297, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.288e-05, allocations: 6.391 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.0282/0.02822, allocations: 40.11 MB / 0.6573 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.03859, allocations: 8.195 MB / 0.6653 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.04068, allocations: 63.44 kB / 0.6653 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.04253, allocations: 0.5428 MB / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.04721, allocations: 1.643 MB / 0.6675 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.05035, allocations: 1.295 MB / 0.6687 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.05402, allocations: 2.68 MB / 0.6713 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.0555, allocations: 0.735 MB / 0.6721 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.0591, allocations: 1.845 MB / 0.6739 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.06034, allocations: 0.6229 MB / 0.6745 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.06057, allocations: 88 kB / 0.6745 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.06225, allocations: 0.7715 MB / 0.6753 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.06252, allocations: 270.8 kB / 0.6756 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.06299, allocations: 367.1 kB / 0.6759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.06555, allocations: 1.733 MB / 0.6776 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.06555, allocations: 4 kB / 0.6776 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.06555, allocations: 3.938 kB / 0.6776 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.06557, allocations: 0 / 0.6776 GB, free: 0.5273 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.289/0.3546, allocations: 1.343 MB / 0.6789 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3546, allocations: 13 kB / 0.6789 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.003e-05/0.3547, allocations: 110.7 kB / 0.679 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.355, allocations: 133 kB / 0.6792 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.356, allocations: 0.7632 MB / 0.6799 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.356, allocations: 57.69 kB / 0.68 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.3561, allocations: 69.34 kB / 0.68 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.3569, allocations: 0.9402 MB / 0.6809 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3569, allocations: 4.219 kB / 0.681 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.357, allocations: 26.59 kB / 0.681 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.357, allocations: 16.47 kB / 0.681 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.3576, allocations: 0.52 MB / 0.6815 GB, free: 99.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.3597, allocations: 3.051 MB / 0.6845 GB, free: 97.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.3602, allocations: 326.6 kB / 0.6848 GB, free: 97.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3604, allocations: 189.5 kB / 0.685 GB, free: 97.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.3606, allocations: 121 kB / 0.6851 GB, free: 97.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.361, allocations: 369.3 kB / 0.6854 GB, free: 97.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.985e-06/0.361, allocations: 1.594 kB / 0.6854 GB, free: 97.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.000874/0.3618, allocations: 0.6613 MB / 0.6861 GB, free: 97.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3619, allocations: 105.7 kB / 0.6862 GB, free: 96.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.3625, allocations: 0.8664 MB / 0.687 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3625, allocations: 39.45 kB / 0.6871 GB, free: 96.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3627, allocations: 477 kB / 0.6875 GB, free: 96.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.3628, allocations: 140.9 kB / 0.6877 GB, free: 96.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3629, allocations: 124.8 kB / 0.6878 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.363, allocations: 336.8 kB / 0.6881 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3632, allocations: 179.9 kB / 0.6883 GB, free: 95.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3635, allocations: 0.732 MB / 0.689 GB, free: 94.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.364, allocations: 0.556 MB / 0.6895 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.364, allocations: 4.734 kB / 0.6895 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007037/0.3647, allocations: 0.6541 MB / 0.6902 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3647, allocations: 8.562 kB / 0.6902 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3647, allocations: 5.875 kB / 0.6902 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3647, allocations: 8.594 kB / 0.6902 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.365, allocations: 124.3 kB / 0.6903 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.365, allocations: 19.06 kB / 0.6903 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3653, allocations: 87.41 kB / 0.6904 GB, free: 94.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.3654, allocations: 36.59 kB / 0.6905 GB, free: 94.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002435/0.3656, allocations: 267.2 kB / 0.6907 GB, free: 93.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.3657, allocations: 104.1 kB / 0.6908 GB, free: 93.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3668, allocations: 1.121 MB / 0.6919 GB, free: 93.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.3668, allocations: 17.78 kB / 0.6919 GB, free: 93.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3668, allocations: 0 / 0.6919 GB, free: 93.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3668, allocations: 7.312 kB / 0.6919 GB, free: 93.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3684, allocations: 1.92 MB / 0.6938 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3684, allocations: 5.094 kB / 0.6938 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3686, allocations: 83.36 kB / 0.6939 GB, free: 92.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3686, allocations: 5.406 kB / 0.6939 GB, free: 92.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3686, allocations: 29.77 kB / 0.6939 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3686, allocations: 16.11 kB / 0.6939 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3686, allocations: 2.938 kB / 0.6939 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.3694, allocations: 1.018 MB / 0.6949 GB, free: 92.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.3696, allocations: 208 kB / 0.6951 GB, free: 91.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.3697, allocations: 13.91 kB / 0.6951 GB, free: 91.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3699, allocations: 41.78 kB / 0.6952 GB, free: 91.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.37, allocations: 64.31 kB / 0.6952 GB, free: 91.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.37, allocations: 30.19 kB / 0.6953 GB, free: 91.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004506/0.3704, allocations: 0.5881 MB / 0.6958 GB, free: 91.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3705, allocations: 0 / 0.6958 GB, free: 91.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008023/0.3713, allocations: 378.1 kB / 0.6962 GB, free: 91.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.002185/0.3734, allocations: 2.316 MB / 0.6985 GB, free: 90.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008973/0.3743, allocations: 0.5822 MB / 0.699 GB, free: 90.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3743, allocations: 6.625 kB / 0.699 GB, free: 90.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.3747, allocations: 368 kB / 0.6994 GB, free: 90.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.3759, allocations: 409 kB / 0.6998 GB, free: 89.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.3827, allocations: 6.88 MB / 0.7065 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.383, allocations: 469.4 kB / 0.7069 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005869/0.3836, allocations: 199 kB / 0.7071 GB, free: 85.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.3839, allocations: 389.1 kB / 0.7075 GB, free: 85.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.803e-06/0.3839, allocations: 0 / 0.7075 GB, free: 85.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/0.4443, allocations: 31.98 MB / 0.7387 GB, free: 77.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.029, allocations: 12.67 kB / 0.7387 GB, free: 77.17 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.8204564768821] Failed to read output from testmodel.py, exit status != 0: 8.16328378021717 8.171980052 8.104776391 Calling exit ...