Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001631/0.001631, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002037/0.002037, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.931/0.931, allocations: 133.9 MB / 443.5 MB, free: 14.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="cs",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.002005/0.002005, allocations: 62.95 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1495, allocations: 85.85 MB / 0.6979 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002348/0.1519, allocations: 1.281 MB / 0.6992 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.1558, allocations: 3.331 MB / 0.7024 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.1558, allocations: 1.062 kB / 0.7024 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1559, allocations: 0 / 0.7024 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.1559, allocations: 9.078 kB / 0.7024 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.1564, allocations: 110.5 kB / 0.7025 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.1565, allocations: 40.94 kB / 0.7026 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1565, allocations: 6.125 kB / 0.7026 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.1566, allocations: 18.11 kB / 0.7026 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.1567, allocations: 21.22 kB / 0.7026 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1567, allocations: 2.656 kB / 0.7026 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1569, allocations: 85.86 kB / 0.7027 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.1569, allocations: 1.469 kB / 0.7027 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.157, allocations: 18.77 kB / 0.7027 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1571, allocations: 65.56 kB / 0.7028 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1571, allocations: 0 / 0.7028 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1571, allocations: 5.312 kB / 0.7028 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1571, allocations: 0 / 0.7028 GB, free: 9.676 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004455/0.1576, allocations: 347.9 kB / 0.7031 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1576, allocations: 11.39 kB / 0.7031 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.098e-05/0.1576, allocations: 1.469 kB / 0.7031 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1577, allocations: 36.44 kB / 0.7032 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1578, allocations: 4.344 kB / 0.7032 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1579, allocations: 170.2 kB / 0.7033 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.1579, allocations: 6.094 kB / 0.7033 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1579, allocations: 14.95 kB / 0.7033 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.158, allocations: 58.31 kB / 0.7034 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1581, allocations: 4 kB / 0.7034 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1581, allocations: 1.438 kB / 0.7034 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1581, allocations: 0 / 0.7034 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.1581, allocations: 19.08 kB / 0.7034 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1583, allocations: 173.5 kB / 0.7036 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.898e-05/0.1584, allocations: 50.69 kB / 0.7036 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1584, allocations: 18.11 kB / 0.7037 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/0.1591, allocations: 0.5941 MB / 0.7042 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1592, allocations: 35.94 kB / 0.7043 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1592, allocations: 0 / 0.7043 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005998/0.1598, allocations: 304.2 kB / 0.7046 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1598, allocations: 51.41 kB / 0.7046 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1599, allocations: 109.8 kB / 0.7047 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1599, allocations: 27.08 kB / 0.7047 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.16, allocations: 85.47 kB / 0.7048 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.16, allocations: 26.5 kB / 0.7048 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.16, allocations: 29.95 kB / 0.7049 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1602, allocations: 324.2 kB / 0.7052 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.1602, allocations: 12.23 kB / 0.7052 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1603, allocations: 53.52 kB / 0.7052 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.1603, allocations: 69.72 kB / 0.7053 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1603, allocations: 1.375 kB / 0.7053 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001408/0.1605, allocations: 98.62 kB / 0.7054 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1605, allocations: 5.5 kB / 0.7054 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1605, allocations: 1.656 kB / 0.7054 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1605, allocations: 1.375 kB / 0.7054 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1606, allocations: 28.58 kB / 0.7054 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1606, allocations: 6.625 kB / 0.7055 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1607, allocations: 1.5 kB / 0.7055 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1607, allocations: 4.938 kB / 0.7055 GB, free: 6.836 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.766e-05/0.1607, allocations: 113.2 kB / 0.7056 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1608, allocations: 6.641 kB / 0.7056 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.1608, allocations: 11.95 kB / 0.7056 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1608, allocations: 1 kB / 0.7056 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1608, allocations: 5 kB / 0.7056 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1608, allocations: 7.938 kB / 0.7056 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.1611, allocations: 177.9 kB / 0.7058 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1611, allocations: 1.625 kB / 0.7058 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.1612, allocations: 16.88 kB / 0.7058 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1612, allocations: 0 / 0.7058 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1612, allocations: 1.562 kB / 0.7058 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1612, allocations: 3.984 kB / 0.7058 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1612, allocations: 3.938 kB / 0.7058 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1614, allocations: 176.3 kB / 0.706 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.1614, allocations: 81.14 kB / 0.706 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1615, allocations: 8 kB / 0.706 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1616, allocations: 0 / 0.706 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.1616, allocations: 15.86 kB / 0.7061 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1616, allocations: 0 / 0.7061 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.1616, allocations: 83.28 kB / 0.7061 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1616, allocations: 0 / 0.7061 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002332/0.1619, allocations: 8 kB / 0.7061 GB, free: 6.074 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.00049/0.1624, allocations: 0.7124 MB / 0.7068 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1625, allocations: 43.91 kB / 0.7069 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1625, allocations: 0 / 0.7069 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.1625, allocations: 16.23 kB / 0.7069 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1628, allocations: 15.94 kB / 0.7069 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1644, allocations: 1.52 MB / 0.7084 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1647, allocations: 0.6846 MB / 0.7091 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.1647, allocations: 15.92 kB / 0.7091 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1648, allocations: 15.44 kB / 0.7091 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1648, allocations: 0 / 0.7091 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1841, allocations: 1.694 MB / 0.7108 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.292, allocations: 11.98 kB / 0.7108 GB, free: 1.297 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.117397184018046] Failed to read output from testmodel.py, exit status != 0: 8.690024523995817 8.441310892 8.279744619 Calling exit ...