Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.001173/0.001173, 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.001145/0.001145, allocations: 208.6 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.9802/0.9802, allocations: 230.6 MB / 256 MB, free: 9.598 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.8609/0.8609, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",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.0009691/0.0009691, allocations: 66.62 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.548, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1681/0.7161, allocations: 142.4 MB / 0.9568 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.7203, allocations: 3.259 MB / 0.96 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.7208, allocations: 11.88 kB / 0.96 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.7214, allocations: 139 kB / 0.9601 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.723, allocations: 449.9 kB / 0.9606 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.7252, allocations: 0.6273 MB / 0.9612 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.7265, allocations: 0.64 MB / 0.9618 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.7269, allocations: 187.2 kB / 0.962 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.7289, allocations: 0.5145 MB / 0.9625 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.7292, allocations: 199.1 kB / 0.9627 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.7292, allocations: 27.94 kB / 0.9627 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008943/0.7301, allocations: 462.9 kB / 0.9632 GB, free: 400 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.7302, allocations: 99.72 kB / 0.9632 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.7304, allocations: 119.4 kB / 0.9634 GB, free: 180 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.7312, allocations: 0.5529 MB / 0.9639 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.7313, allocations: 0 / 0.9639 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7313, allocations: 0 / 0.9639 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7313, allocations: 0 / 0.9639 GB, free: 15.62 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009259/0.7322, allocations: 0.5669 MB / 0.9645 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.7322, allocations: 15.97 kB / 0.9645 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.7323, allocations: 58.48 kB / 0.9645 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.7328, allocations: 79.69 kB / 0.9646 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.7331, allocations: 251.6 kB / 0.9648 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.7332, allocations: 12.44 kB / 0.9649 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.7332, allocations: 20 kB / 0.9649 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.7337, allocations: 363.5 kB / 0.9652 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7337, allocations: 0 / 0.9652 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.7337, allocations: 12 kB / 0.9652 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7337, allocations: 7.938 kB / 0.9652 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.7341, allocations: 248.9 kB / 0.9655 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.7354, allocations: 0.9834 MB / 0.9664 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.7357, allocations: 166.5 kB / 0.9666 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.7359, allocations: 120.8 kB / 0.9667 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.7362, allocations: 75.91 kB / 0.9668 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.7362, allocations: 34.56 kB / 0.9668 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/0.7362, allocations: 0 / 0.9668 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.001373/0.7376, allocations: 0.5057 MB / 0.9673 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7377, allocations: 55.41 kB / 0.9674 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.7379, allocations: 252.2 kB / 0.9676 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7379, allocations: 33.69 kB / 0.9676 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.738, allocations: 168.2 kB / 0.9678 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.738, allocations: 43.58 kB / 0.9678 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.7381, allocations: 45.66 kB / 0.9679 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7382, allocations: 330.8 kB / 0.9682 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.7384, allocations: 95.92 kB / 0.9683 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.7386, allocations: 165.9 kB / 0.9684 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.7389, allocations: 236.1 kB / 0.9687 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7389, allocations: 0 / 0.9687 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006543/0.7395, allocations: 360.5 kB / 0.969 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.7396, allocations: 4 kB / 0.969 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7396, allocations: 0 / 0.969 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.7399, allocations: 96.81 kB / 0.9691 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.7401, allocations: 35.97 kB / 0.9691 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7418, allocations: 1.625 MB / 0.9707 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.742, allocations: 31.86 kB / 0.9708 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.742, allocations: 12.12 kB / 0.9708 GB, free: 8.168 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.7422, allocations: 146.4 kB / 0.9709 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.7422, allocations: 35.86 kB / 0.9709 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.7429, allocations: 371.1 kB / 0.9713 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7429, allocations: 0 / 0.9713 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7429, allocations: 0 / 0.9713 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7429, allocations: 0 / 0.9713 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.7442, allocations: 0.7191 MB / 0.972 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7442, allocations: 96 / 0.972 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7443, allocations: 35.97 kB / 0.972 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.7446, allocations: 84.64 kB / 0.9721 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.7446, allocations: 8 kB / 0.9721 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.7458, allocations: 1.636 MB / 0.9737 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7458, allocations: 3.984 kB / 0.9737 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.7464, allocations: 450.5 kB / 0.9742 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.7465, allocations: 47.77 kB / 0.9742 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.7465, allocations: 11.94 kB / 0.9742 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.7467, allocations: 19.97 kB / 0.9742 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.7467, allocations: 19.91 kB / 0.9743 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7468, allocations: 12 kB / 0.9743 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001333/0.7469, allocations: 191.1 kB / 0.9744 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.7469, allocations: 0 / 0.9744 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003526/0.7472, allocations: 83.88 kB / 0.9745 GB, free: 4.098 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.7484, allocations: 1.016 MB / 0.9755 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.7491, allocations: 362.6 kB / 0.9759 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7491, allocations: 4 kB / 0.9759 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.7494, allocations: 258.6 kB / 0.9761 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.7499, allocations: 124.7 kB / 0.9762 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.7531, allocations: 2.818 MB / 0.979 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.7532, allocations: 166.8 kB / 0.9791 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.7534, allocations: 54.25 kB / 0.9792 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.7535, allocations: 79.41 kB / 0.9793 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of SimCode: time 1.492e-06/0.7535, allocations: 0 / 0.9793 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.7863, allocations: 9.518 MB / 0.9886 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.563, allocations: 1.125 kB / 0.9886 GB, free: 5.746 MB / 0.7605 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.653804899659008] Failed to read output from testmodel.py, exit status != 0: 8.656578379217535 8.669502671 7.936051433 Calling exit ...