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.001008/0.001008, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001843/0.001843, allocations: 209.7 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9165/0.9165, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.772/0.772, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 62.69 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4777, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.0299/0.5076, allocations: 40.46 MB / 0.8573 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.5167, allocations: 8.165 MB / 0.8653 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.5175, allocations: 63.69 kB / 0.8653 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5186, allocations: 0.5406 MB / 0.8659 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.5211, allocations: 1.602 MB / 0.8674 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.5228, allocations: 1.211 MB / 0.8686 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.525, allocations: 2.69 MB / 0.8712 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008095/0.5258, allocations: 0.7446 MB / 0.872 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.528, allocations: 1.53 MB / 0.8734 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.5288, allocations: 0.7119 MB / 0.8741 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.5289, allocations: 89.5 kB / 0.8742 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5301, allocations: 0.7644 MB / 0.875 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.5303, allocations: 265.3 kB / 0.8752 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.5307, allocations: 442.8 kB / 0.8756 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.5323, allocations: 1.733 MB / 0.8773 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5323, allocations: 0 / 0.8773 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5323, allocations: 1.219 kB / 0.8773 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.5323, allocations: 0 / 0.8773 GB, free: 6.113 MB / 0.6511 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.001585/0.5339, allocations: 1.355 MB / 0.8787 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5339, allocations: 9 kB / 0.8787 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.873e-05/0.534, allocations: 113.4 kB / 0.8788 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.5343, allocations: 139.6 kB / 0.8789 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.5353, allocations: 0.7567 MB / 0.8797 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/0.5353, allocations: 50.81 kB / 0.8797 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.5354, allocations: 70.25 kB / 0.8798 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5365, allocations: 0.9383 MB / 0.8807 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5366, allocations: 5.125 kB / 0.8807 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.5366, allocations: 27.44 kB / 0.8807 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.5366, allocations: 17.34 kB / 0.8807 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.5373, allocations: 0.5183 MB / 0.8812 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.5398, allocations: 3.083 MB / 0.8843 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.5402, allocations: 316.6 kB / 0.8846 GB, free: 452 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.5405, allocations: 198.5 kB / 0.8847 GB, free: 348 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.5407, allocations: 120.3 kB / 0.8849 GB, free: 296 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.5411, allocations: 375.1 kB / 0.8852 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.5411, allocations: 0 / 0.8852 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.00097/0.5421, allocations: 0.663 MB / 0.8859 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.5421, allocations: 110.8 kB / 0.886 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.5428, allocations: 0.8659 MB / 0.8868 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.5429, allocations: 37.7 kB / 0.8868 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.5431, allocations: 480.5 kB / 0.8873 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.5432, allocations: 142.8 kB / 0.8874 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.5433, allocations: 126.3 kB / 0.8876 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.5434, allocations: 334 kB / 0.8879 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5436, allocations: 173.2 kB / 0.888 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.5444, allocations: 0.7319 MB / 0.8888 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.5449, allocations: 0.5531 MB / 0.8893 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5449, allocations: 0 / 0.8893 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007251/0.5456, allocations: 0.6605 MB / 0.8899 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5456, allocations: 8 kB / 0.89 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5456, allocations: 4 kB / 0.89 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5457, allocations: 8 kB / 0.89 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.5459, allocations: 135.7 kB / 0.8901 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5459, allocations: 15.88 kB / 0.8901 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.5462, allocations: 79.48 kB / 0.8902 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.5462, allocations: 35.98 kB / 0.8902 GB, free: 10.7 MB / 0.6667 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.0002326/0.5465, allocations: 269.6 kB / 0.8905 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.5466, allocations: 103.3 kB / 0.8906 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5478, allocations: 1.133 MB / 0.8917 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.5478, allocations: 12 kB / 0.8917 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5478, allocations: 7.922 kB / 0.8917 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5478, allocations: 0 / 0.8917 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.5495, allocations: 1.921 MB / 0.8936 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5495, allocations: 0 / 0.8936 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.5497, allocations: 87.83 kB / 0.8937 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.5497, allocations: 11.98 kB / 0.8937 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.5497, allocations: 23.98 kB / 0.8937 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5497, allocations: 4 kB / 0.8937 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5497, allocations: 4 kB / 0.8937 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.5506, allocations: 1.029 MB / 0.8947 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.5508, allocations: 199 kB / 0.8949 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.5509, allocations: 23.98 kB / 0.8949 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5511, allocations: 35.97 kB / 0.895 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.5512, allocations: 60.28 kB / 0.895 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.5512, allocations: 31.98 kB / 0.895 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007279/0.5519, allocations: 0.5901 MB / 0.8956 GB, free: 5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.5519, allocations: 0 / 0.8956 GB, free: 5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007293/0.5526, allocations: 371 kB / 0.896 GB, free: 4.637 MB / 0.6667 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.002209/0.5549, allocations: 2.315 MB / 0.8982 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.5555, allocations: 0.5836 MB / 0.8988 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5555, allocations: 4 kB / 0.8988 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.5559, allocations: 376.8 kB / 0.8992 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5569, allocations: 405.4 kB / 0.8996 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.563, allocations: 6.867 MB / 0.9063 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5633, allocations: 472 kB / 0.9067 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.5637, allocations: 191 kB / 0.9069 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.564, allocations: 399.2 kB / 0.9073 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.564, allocations: 0 / 0.9073 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.6085, allocations: 31.85 MB / 0.9384 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/8.074, allocations: 11.19 kB / 0.9384 GB, free: 9.355 MB / 0.7136 GB " [Timeout remaining time 652] (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.076361711136997] Failed to read output from testmodel.py, exit status != 0: 8.207855739630759 8.215578857 7.681458234 Calling exit ...