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.001118/0.001118, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0009765/0.0009765, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9037/0.9037, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7008/0.7008, 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.262e-06/1.262e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.449e-05, allocations: 3.562 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02703/0.02705, allocations: 40.1 MB / 0.6572 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009033/0.03608, allocations: 8.201 MB / 0.6652 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.03698, allocations: 55.5 kB / 0.6652 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.03805, allocations: 0.5389 MB / 0.6658 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.04107, allocations: 1.647 MB / 0.6674 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.04298, allocations: 1.304 MB / 0.6687 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.04526, allocations: 2.665 MB / 0.6713 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.04623, allocations: 0.7427 MB / 0.672 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.0487, allocations: 1.837 MB / 0.6738 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.04941, allocations: 0.6229 MB / 0.6744 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.04953, allocations: 92 kB / 0.6745 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.05069, allocations: 0.7715 MB / 0.6752 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.05089, allocations: 266.9 kB / 0.6755 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.05119, allocations: 367.1 kB / 0.6758 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.05271, allocations: 1.737 MB / 0.6775 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.05272, allocations: 0 / 0.6775 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.05272, allocations: 0 / 0.6775 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.05274, allocations: 0 / 0.6775 GB, free: 0.5977 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.2884/0.3411, allocations: 1.354 MB / 0.6789 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3412, allocations: 9.406 kB / 0.6789 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.3413, allocations: 111.8 kB / 0.679 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.3416, allocations: 139.5 kB / 0.6791 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.3425, allocations: 0.7588 MB / 0.6798 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.3425, allocations: 55.34 kB / 0.6799 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.3425, allocations: 67.94 kB / 0.68 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007727/0.3433, allocations: 0.9422 MB / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3433, allocations: 0 / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3434, allocations: 29.75 kB / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3434, allocations: 20.73 kB / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.3439, allocations: 0.5175 MB / 0.6814 GB, free: 99.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.346, allocations: 3.061 MB / 0.6844 GB, free: 97.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.3464, allocations: 321.2 kB / 0.6847 GB, free: 97.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3466, allocations: 195.7 kB / 0.6849 GB, free: 97.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.3468, allocations: 116 kB / 0.685 GB, free: 97.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3471, allocations: 367.3 kB / 0.6854 GB, free: 97.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.996e-06/0.3472, allocations: 0.9062 kB / 0.6854 GB, free: 97.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.0009291/0.3481, allocations: 0.6625 MB / 0.686 GB, free: 97.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3481, allocations: 111.9 kB / 0.6861 GB, free: 96.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/0.3489, allocations: 0.8574 MB / 0.687 GB, free: 96.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3489, allocations: 37.08 kB / 0.687 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.3491, allocations: 480.5 kB / 0.6875 GB, free: 96.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.3492, allocations: 144.1 kB / 0.6876 GB, free: 96.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3493, allocations: 126.3 kB / 0.6877 GB, free: 96.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.3493, allocations: 334.1 kB / 0.688 GB, free: 95.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3495, allocations: 175.2 kB / 0.6882 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3499, allocations: 0.7402 MB / 0.6889 GB, free: 94.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.3504, allocations: 0.5503 MB / 0.6895 GB, free: 94.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3504, allocations: 2.906 kB / 0.6895 GB, free: 94.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007329/0.3511, allocations: 0.6566 MB / 0.6901 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3511, allocations: 12.16 kB / 0.6901 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3511, allocations: 5.344 kB / 0.6901 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3512, allocations: 8 kB / 0.6901 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3514, allocations: 127.8 kB / 0.6903 GB, free: 94.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3514, allocations: 8.688 kB / 0.6903 GB, free: 94.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.3518, allocations: 84.94 kB / 0.6903 GB, free: 94.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.3519, allocations: 37.66 kB / 0.6904 GB, free: 94.24 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.0003149/0.3522, allocations: 276.8 kB / 0.6906 GB, free: 94.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3523, allocations: 100.9 kB / 0.6907 GB, free: 93.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.3535, allocations: 1.114 MB / 0.6918 GB, free: 93.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.3535, allocations: 19.45 kB / 0.6918 GB, free: 93.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3535, allocations: 3.281 kB / 0.6918 GB, free: 93.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.3535, allocations: 9.688 kB / 0.6919 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.3553, allocations: 1.92 MB / 0.6937 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3553, allocations: 2.938 kB / 0.6937 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.3555, allocations: 86.48 kB / 0.6938 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3555, allocations: 5.75 kB / 0.6938 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.3555, allocations: 29.47 kB / 0.6939 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3555, allocations: 5.125 kB / 0.6939 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3555, allocations: 5.312 kB / 0.6939 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.3565, allocations: 1.027 MB / 0.6949 GB, free: 92.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.3567, allocations: 212.5 kB / 0.6951 GB, free: 91.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.3568, allocations: 15.91 kB / 0.6951 GB, free: 91.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.357, allocations: 34.58 kB / 0.6951 GB, free: 91.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.3571, allocations: 67.12 kB / 0.6952 GB, free: 91.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.3572, allocations: 28.45 kB / 0.6952 GB, free: 91.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005082/0.3577, allocations: 0.5846 MB / 0.6958 GB, free: 91.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.3577, allocations: 3.969 kB / 0.6958 GB, free: 91.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008145/0.3585, allocations: 374.3 kB / 0.6961 GB, free: 91.57 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.002274/0.3608, allocations: 2.313 MB / 0.6984 GB, free: 90.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.3615, allocations: 0.5849 MB / 0.699 GB, free: 90.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3615, allocations: 4 kB / 0.699 GB, free: 90.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.3619, allocations: 375.6 kB / 0.6993 GB, free: 90.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3631, allocations: 401.6 kB / 0.6997 GB, free: 90.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.3696, allocations: 6.879 MB / 0.7064 GB, free: 86.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3699, allocations: 473.1 kB / 0.7069 GB, free: 86.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000548/0.3705, allocations: 191 kB / 0.7071 GB, free: 86.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.3708, allocations: 391.8 kB / 0.7074 GB, free: 85.74 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.3708, allocations: 0 / 0.7074 GB, free: 85.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.4245, allocations: 31.99 MB / 0.7387 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.468, allocations: 6.891 kB / 0.7387 GB, free: 77.21 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.288005928508937] Failed to read output from testmodel.py, exit status != 0: 8.603935762308538 8.612572313 8.558362289 Calling exit ...