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.001119/0.001119, 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.001302/0.001302, allocations: 165.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.8898/0.8898, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6918/0.6918, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.12e-05, allocations: 5.156 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02787/0.02789, allocations: 40.11 MB / 0.6572 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009474/0.03736, allocations: 8.202 MB / 0.6653 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.03882, allocations: 59.44 kB / 0.6653 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.04012, allocations: 0.539 MB / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.04383, allocations: 1.646 MB / 0.6674 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.04601, allocations: 1.301 MB / 0.6687 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.04846, allocations: 2.68 MB / 0.6713 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.04949, allocations: 0.7427 MB / 0.6721 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.05188, allocations: 1.83 MB / 0.6738 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.05277, allocations: 0.6229 MB / 0.6745 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.05291, allocations: 88 kB / 0.6745 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.05426, allocations: 0.7715 MB / 0.6753 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.05445, allocations: 262.9 kB / 0.6755 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.05478, allocations: 379 kB / 0.6759 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.05648, allocations: 1.737 MB / 0.6776 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.05648, allocations: 0 / 0.6776 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.05648, allocations: 3.938 kB / 0.6776 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.05651, allocations: 0 / 0.6776 GB, free: 0.5195 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.2978/0.3543, allocations: 1.341 MB / 0.6789 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3544, allocations: 8.719 kB / 0.6789 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.556e-05/0.3544, allocations: 110.6 kB / 0.679 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.3547, allocations: 144.7 kB / 0.6792 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.3556, allocations: 0.7601 MB / 0.6799 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.3556, allocations: 52.22 kB / 0.68 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.3557, allocations: 72.22 kB / 0.68 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.3564, allocations: 0.9373 MB / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3565, allocations: 3.031 kB / 0.6809 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3565, allocations: 29.91 kB / 0.681 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3565, allocations: 24.47 kB / 0.681 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.357, allocations: 0.5158 MB / 0.6815 GB, free: 99.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3589, allocations: 3.054 MB / 0.6845 GB, free: 97.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3592, allocations: 323.9 kB / 0.6848 GB, free: 97.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3594, allocations: 190.9 kB / 0.685 GB, free: 97.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.3597, allocations: 117.6 kB / 0.6851 GB, free: 97.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.36, allocations: 373.9 kB / 0.6854 GB, free: 97.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.36, allocations: 0 / 0.6854 GB, free: 97.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.0007526/0.3607, allocations: 0.665 MB / 0.6861 GB, free: 97.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3608, allocations: 109.4 kB / 0.6862 GB, free: 96.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.3614, allocations: 0.8605 MB / 0.687 GB, free: 96.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.3614, allocations: 39.3 kB / 0.6871 GB, free: 96.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.3616, allocations: 483.7 kB / 0.6875 GB, free: 96.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.3616, allocations: 133.3 kB / 0.6877 GB, free: 96.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3617, allocations: 130.7 kB / 0.6878 GB, free: 96.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.3618, allocations: 336.4 kB / 0.6881 GB, free: 95.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.362, allocations: 173.7 kB / 0.6883 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.3623, allocations: 0.7326 MB / 0.689 GB, free: 94.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.3628, allocations: 0.5536 MB / 0.6895 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3628, allocations: 2.812 kB / 0.6895 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006318/0.3634, allocations: 0.6547 MB / 0.6902 GB, free: 94.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3634, allocations: 9.562 kB / 0.6902 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3634, allocations: 6.234 kB / 0.6902 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3634, allocations: 8.531 kB / 0.6902 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3637, allocations: 124.5 kB / 0.6903 GB, free: 94.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3637, allocations: 20.06 kB / 0.6903 GB, free: 94.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3639, allocations: 90.52 kB / 0.6904 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.364, allocations: 32.42 kB / 0.6904 GB, free: 94.23 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.0001902/0.3641, allocations: 266.3 kB / 0.6907 GB, free: 94.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.3642, allocations: 104 kB / 0.6908 GB, free: 93.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3653, allocations: 1.128 MB / 0.6919 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.3653, allocations: 16.17 kB / 0.6919 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3653, allocations: 0 / 0.6919 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3653, allocations: 3.422 kB / 0.6919 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.3667, allocations: 1.918 MB / 0.6938 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3667, allocations: 2.688 kB / 0.6938 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3669, allocations: 84.11 kB / 0.6939 GB, free: 92.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3669, allocations: 13.94 kB / 0.6939 GB, free: 92.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3669, allocations: 34.94 kB / 0.6939 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3669, allocations: 9.625 kB / 0.6939 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3669, allocations: 5.844 kB / 0.6939 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.3676, allocations: 1.016 MB / 0.6949 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3678, allocations: 206.2 kB / 0.6951 GB, free: 91.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.3679, allocations: 16.69 kB / 0.6951 GB, free: 91.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.368, allocations: 46.7 kB / 0.6952 GB, free: 91.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3681, allocations: 59 kB / 0.6952 GB, free: 91.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3681, allocations: 29.92 kB / 0.6953 GB, free: 91.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003856/0.3685, allocations: 0.5839 MB / 0.6958 GB, free: 91.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 0.6958 GB, free: 91.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006464/0.3692, allocations: 372.7 kB / 0.6962 GB, free: 91.56 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.001964/0.3711, allocations: 2.323 MB / 0.6985 GB, free: 90.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.3717, allocations: 0.588 MB / 0.699 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3717, allocations: 3.031 kB / 0.699 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.372, allocations: 372 kB / 0.6994 GB, free: 90.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.3729, allocations: 401.2 kB / 0.6998 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.3781, allocations: 6.879 MB / 0.7065 GB, free: 86.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3784, allocations: 471.7 kB / 0.7069 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.3787, allocations: 195.3 kB / 0.7071 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.379, allocations: 394.2 kB / 0.7075 GB, free: 85.71 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.379, allocations: 0 / 0.7075 GB, free: 85.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.4266, allocations: 31.98 MB / 0.7387 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.041, allocations: 6.688 kB / 0.7387 GB, free: 77.21 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.892669231630862] Failed to read output from testmodel.py, exit status != 0: 8.176076588220894 8.184102231 8.126239611 Calling exit ...