Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000838/0.000838, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0009752/0.0009752, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8944/0.8944, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7672/0.7672, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.279e-05, allocations: 6.219 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03024/0.03027, allocations: 40.09 MB / 0.6572 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.04058, allocations: 8.211 MB / 0.6652 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.0423, allocations: 59.44 kB / 0.6652 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.04407, allocations: 0.5351 MB / 0.6658 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.04841, allocations: 1.649 MB / 0.6674 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.05112, allocations: 1.302 MB / 0.6687 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.05433, allocations: 2.669 MB / 0.6713 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.05577, allocations: 0.7466 MB / 0.672 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.05941, allocations: 1.83 MB / 0.6738 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.06051, allocations: 0.6229 MB / 0.6744 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.06072, allocations: 92 kB / 0.6745 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.06256, allocations: 0.7677 MB / 0.6752 GB, free: 3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.06279, allocations: 266.9 kB / 0.6755 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.06324, allocations: 371 kB / 0.6758 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.06575, allocations: 1.737 MB / 0.6775 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.06576, allocations: 0 / 0.6775 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.06576, allocations: 0 / 0.6775 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.687e-05/0.0658, allocations: 0 / 0.6775 GB, free: 0.6328 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.2767/0.3425, allocations: 1.348 MB / 0.6788 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3426, allocations: 13.23 kB / 0.6789 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.3427, allocations: 111 kB / 0.679 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.3429, allocations: 140.6 kB / 0.6791 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.3438, allocations: 0.7584 MB / 0.6798 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.3439, allocations: 53.31 kB / 0.6799 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.3439, allocations: 69.97 kB / 0.68 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.3447, allocations: 0.9386 MB / 0.6809 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3448, allocations: 0.9062 kB / 0.6809 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.3448, allocations: 28 kB / 0.6809 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3448, allocations: 24.77 kB / 0.6809 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.3454, allocations: 0.5224 MB / 0.6814 GB, free: 99.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.3475, allocations: 3.055 MB / 0.6844 GB, free: 97.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.3479, allocations: 321.8 kB / 0.6847 GB, free: 97.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3481, allocations: 195.4 kB / 0.6849 GB, free: 97.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.3484, allocations: 117.1 kB / 0.685 GB, free: 97.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.3488, allocations: 369.4 kB / 0.6854 GB, free: 97.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.3488, allocations: 3.156 kB / 0.6854 GB, free: 97.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.0008879/0.3497, allocations: 0.668 MB / 0.686 GB, free: 97.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3497, allocations: 108.6 kB / 0.6861 GB, free: 96.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.3504, allocations: 0.8592 MB / 0.687 GB, free: 96.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3504, allocations: 36.48 kB / 0.687 GB, free: 96.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3506, allocations: 483.9 kB / 0.6875 GB, free: 96.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.3507, allocations: 138.3 kB / 0.6876 GB, free: 96.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3508, allocations: 131.5 kB / 0.6877 GB, free: 95.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.3508, allocations: 326.6 kB / 0.688 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.351, allocations: 176.6 kB / 0.6882 GB, free: 95.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.3513, allocations: 0.7395 MB / 0.6889 GB, free: 94.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.3518, allocations: 0.5507 MB / 0.6895 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.3518, allocations: 0 / 0.6895 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008028/0.3526, allocations: 0.6569 MB / 0.6901 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3526, allocations: 17.12 kB / 0.6901 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3526, allocations: 5.625 kB / 0.6901 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3527, allocations: 12.39 kB / 0.6901 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3529, allocations: 124.5 kB / 0.6903 GB, free: 94.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3529, allocations: 12.19 kB / 0.6903 GB, free: 94.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.3533, allocations: 83.81 kB / 0.6903 GB, free: 94.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.3534, allocations: 36.28 kB / 0.6904 GB, free: 94.19 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.0003202/0.3537, allocations: 270.4 kB / 0.6906 GB, free: 93.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3538, allocations: 105.7 kB / 0.6907 GB, free: 93.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.3549, allocations: 1.123 MB / 0.6918 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.355, allocations: 15.97 kB / 0.6919 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.355, allocations: 0 / 0.6919 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.355, allocations: 11.34 kB / 0.6919 GB, free: 93.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.3567, allocations: 1.912 MB / 0.6937 GB, free: 92.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3567, allocations: 3.203 kB / 0.6937 GB, free: 92.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3569, allocations: 94.73 kB / 0.6938 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3569, allocations: 2.938 kB / 0.6938 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3569, allocations: 23.5 kB / 0.6938 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3569, allocations: 10.03 kB / 0.6939 GB, free: 92.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3569, allocations: 5.5 kB / 0.6939 GB, free: 92.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.3579, allocations: 1.022 MB / 0.6949 GB, free: 92.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.3581, allocations: 203.3 kB / 0.6951 GB, free: 91.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.3582, allocations: 19.75 kB / 0.6951 GB, free: 91.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3584, allocations: 44.25 kB / 0.6951 GB, free: 91.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.3585, allocations: 58.97 kB / 0.6952 GB, free: 91.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.3585, allocations: 30.61 kB / 0.6952 GB, free: 91.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004814/0.359, allocations: 0.5857 MB / 0.6958 GB, free: 91.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.359, allocations: 3 kB / 0.6958 GB, free: 91.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008718/0.3599, allocations: 369.8 kB / 0.6961 GB, free: 91.52 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.002384/0.3622, allocations: 2.33 MB / 0.6984 GB, free: 90.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008528/0.3631, allocations: 0.588 MB / 0.699 GB, free: 90.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3631, allocations: 0 / 0.699 GB, free: 90.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.3635, allocations: 375.8 kB / 0.6993 GB, free: 90.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.3649, allocations: 403.8 kB / 0.6997 GB, free: 89.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007297/0.3722, allocations: 6.859 MB / 0.7064 GB, free: 86.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3725, allocations: 479.1 kB / 0.7069 GB, free: 86.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007119/0.3732, allocations: 190.6 kB / 0.7071 GB, free: 85.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.3736, allocations: 394.8 kB / 0.7074 GB, free: 85.69 MB / 0.6355 GB Notification: Performance of SimCode: time 3.146e-06/0.3736, allocations: 4 kB / 0.7074 GB, free: 85.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.4355, allocations: 31.98 MB / 0.7387 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.385, allocations: 4.859 kB / 0.7387 GB, free: 77.24 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.266394541598856] Failed to read output from testmodel.py, exit status != 0: 8.529010060243309 8.536772842 8.469327076 Calling exit ...