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.0008096/0.0008096, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008881/0.0008881, allocations: 208.1 kB / 22.25 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.9402/0.9402, allocations: 230.6 MB / 256 MB, free: 9.582 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.7933/0.7933, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009765/0.0009765, allocations: 67.61 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4779, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02986/0.5078, allocations: 40.45 MB / 0.8573 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00856/0.5163, allocations: 8.163 MB / 0.8653 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.5169, allocations: 67.56 kB / 0.8653 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.5179, allocations: 0.5379 MB / 0.8658 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.52, allocations: 1.601 MB / 0.8674 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.5215, allocations: 1.208 MB / 0.8686 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.5232, allocations: 2.698 MB / 0.8712 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.524, allocations: 0.7324 MB / 0.8719 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.5257, allocations: 1.538 MB / 0.8734 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.5263, allocations: 0.708 MB / 0.8741 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.5263, allocations: 91.78 kB / 0.8742 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/0.5273, allocations: 0.7696 MB / 0.875 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5275, allocations: 264.8 kB / 0.8752 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.5278, allocations: 444 kB / 0.8757 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.5292, allocations: 1.728 MB / 0.8773 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5292, allocations: 0 / 0.8773 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5292, allocations: 1.156 kB / 0.8773 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5292, allocations: 0 / 0.8773 GB, free: 6.098 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.00131/0.5305, allocations: 1.355 MB / 0.8787 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5306, allocations: 13.47 kB / 0.8787 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.5307, allocations: 109.5 kB / 0.8788 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5309, allocations: 139.1 kB / 0.8789 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5319, allocations: 0.7572 MB / 0.8797 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.532, allocations: 55.03 kB / 0.8797 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.5321, allocations: 66.09 kB / 0.8798 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.533, allocations: 0.9445 MB / 0.8807 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.533, allocations: 5.438 kB / 0.8807 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.5331, allocations: 31.25 kB / 0.8807 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5331, allocations: 16.62 kB / 0.8807 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.5337, allocations: 0.5136 MB / 0.8812 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.5361, allocations: 3.08 MB / 0.8843 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5366, allocations: 316.9 kB / 0.8846 GB, free: 440 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5368, allocations: 194.8 kB / 0.8847 GB, free: 340 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.537, allocations: 120.7 kB / 0.8849 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.5374, allocations: 370.8 kB / 0.8852 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 1.472e-06/0.5374, allocations: 0 / 0.8852 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.000913/0.5383, allocations: 0.6636 MB / 0.8859 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.5384, allocations: 110.8 kB / 0.886 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.539, allocations: 0.8659 MB / 0.8868 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.5391, allocations: 37.7 kB / 0.8868 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.5393, allocations: 476.5 kB / 0.8873 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.5394, allocations: 146.8 kB / 0.8874 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.5395, allocations: 134.2 kB / 0.8876 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.5396, allocations: 322 kB / 0.8879 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.5398, allocations: 177.2 kB / 0.888 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.5402, allocations: 0.7319 MB / 0.8888 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.5407, allocations: 0.5531 MB / 0.8893 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5407, allocations: 3.938 kB / 0.8893 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008433/0.5415, allocations: 0.6644 MB / 0.8899 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5416, allocations: 8 kB / 0.89 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5416, allocations: 7.984 kB / 0.89 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5416, allocations: 8 kB / 0.89 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5418, allocations: 127.7 kB / 0.8901 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5418, allocations: 15.94 kB / 0.8901 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5421, allocations: 79.48 kB / 0.8902 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.5421, allocations: 39.97 kB / 0.8902 GB, free: 10.69 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.0002192/0.5424, allocations: 269.6 kB / 0.8905 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.5424, allocations: 103.3 kB / 0.8906 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5436, allocations: 1.129 MB / 0.8917 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.5436, allocations: 11.98 kB / 0.8917 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5436, allocations: 3.938 kB / 0.8917 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5436, allocations: 3.984 kB / 0.8917 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.5453, allocations: 1.913 MB / 0.8936 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5453, allocations: 11.97 kB / 0.8936 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.5455, allocations: 91.83 kB / 0.8937 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5455, allocations: 4 kB / 0.8937 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.5455, allocations: 23.98 kB / 0.8937 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5455, allocations: 4 kB / 0.8937 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5455, allocations: 4 kB / 0.8937 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.5464, allocations: 1.029 MB / 0.8947 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5466, allocations: 206.9 kB / 0.8949 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.5466, allocations: 19.98 kB / 0.8949 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5468, allocations: 31.97 kB / 0.895 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.5469, allocations: 64.28 kB / 0.895 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.547, allocations: 39.98 kB / 0.8951 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00047/0.5474, allocations: 0.59 MB / 0.8956 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.5474, allocations: 0 / 0.8956 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006573/0.5481, allocations: 371.1 kB / 0.896 GB, free: 4.613 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.002303/0.5504, allocations: 2.319 MB / 0.8982 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006637/0.5511, allocations: 0.5836 MB / 0.8988 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5511, allocations: 4 kB / 0.8988 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.5514, allocations: 372.9 kB / 0.8992 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.5524, allocations: 397.2 kB / 0.8996 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.5582, allocations: 6.859 MB / 0.9063 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5585, allocations: 476 kB / 0.9067 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.5588, allocations: 199 kB / 0.9069 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.5591, allocations: 391.3 kB / 0.9073 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.5591, allocations: 0 / 0.9073 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.6068, allocations: 31.85 MB / 0.9384 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.409, allocations: 19.42 kB / 0.9384 GB, free: 9.344 MB / 0.7136 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.352682127151638] Failed to read output from testmodel.py, exit status != 0: 8.54127357294783 8.549226805 8.018257318 Calling exit ...