Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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.0008256/0.0008256, 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.0008494/0.0008494, 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.8815/0.8815, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7135/0.7135, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.574e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.3942/0.3942, allocations: 145.7 MB / 0.7604 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3967, allocations: 1.487 MB / 0.7619 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.397, allocations: 15.44 kB / 0.7619 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.3975, allocations: 155.7 kB / 0.762 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.3988, allocations: 482.3 kB / 0.7625 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.4007, allocations: 0.8137 MB / 0.7633 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.4015, allocations: 0.7071 MB / 0.764 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.4019, allocations: 210 kB / 0.7642 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.4028, allocations: 0.5526 MB / 0.7647 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.4031, allocations: 204.1 kB / 0.7649 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.4031, allocations: 25.19 kB / 0.7649 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.4045, allocations: 0.7421 MB / 0.7656 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.4047, allocations: 125 kB / 0.7658 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.4049, allocations: 106.1 kB / 0.7659 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.4063, allocations: 0.7794 MB / 0.7666 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4063, allocations: 0 / 0.7666 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4063, allocations: 0 / 0.7666 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.4064, allocations: 3.938 kB / 0.7666 GB, free: 6.477 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000961/0.4073, allocations: 0.6015 MB / 0.7672 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4074, allocations: 13.28 kB / 0.7672 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.4074, allocations: 57.19 kB / 0.7673 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.4077, allocations: 92.28 kB / 0.7674 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.4081, allocations: 253.8 kB / 0.7676 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4081, allocations: 17.88 kB / 0.7676 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.4082, allocations: 24.62 kB / 0.7677 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.4086, allocations: 358 kB / 0.768 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4086, allocations: 1.875 kB / 0.768 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4087, allocations: 10.75 kB / 0.768 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4087, allocations: 9.031 kB / 0.768 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.4091, allocations: 280.2 kB / 0.7683 GB, free: 5.477 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4102, allocations: 0.9748 MB / 0.7692 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.4107, allocations: 241.4 kB / 0.7695 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.4109, allocations: 131.8 kB / 0.7696 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.4113, allocations: 88.3 kB / 0.7697 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.4113, allocations: 37.12 kB / 0.7697 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.225e-06/0.4113, allocations: 0 / 0.7697 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0009009/0.4122, allocations: 411.9 kB / 0.7701 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4122, allocations: 54.22 kB / 0.7702 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4125, allocations: 270.5 kB / 0.7704 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.4125, allocations: 30.98 kB / 0.7704 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.4126, allocations: 169.6 kB / 0.7706 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.4126, allocations: 64.44 kB / 0.7707 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.4127, allocations: 51.3 kB / 0.7707 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.4127, allocations: 337.4 kB / 0.771 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.4129, allocations: 107.3 kB / 0.7711 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.4131, allocations: 246.7 kB / 0.7714 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.4135, allocations: 266.2 kB / 0.7716 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4135, allocations: 3.938 kB / 0.7716 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004502/0.4139, allocations: 318.2 kB / 0.7719 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4139, allocations: 6.078 kB / 0.7719 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4139, allocations: 1.062 kB / 0.7719 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.414, allocations: 2.219 kB / 0.7719 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4141, allocations: 60.55 kB / 0.772 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4141, allocations: 3.172 kB / 0.772 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4143, allocations: 51.2 kB / 0.7721 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4143, allocations: 12 kB / 0.7721 GB, free: 3.234 MB / 0.6355 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 (24): * Single equations (assignments): 24 * 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.0001192/0.4145, allocations: 152.4 kB / 0.7722 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.4145, allocations: 28.31 kB / 0.7722 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.415, allocations: 319.8 kB / 0.7725 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.415, allocations: 1.469 kB / 0.7725 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.415, allocations: 1.438 kB / 0.7725 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.415, allocations: 5.25 kB / 0.7725 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.416, allocations: 0.7489 MB / 0.7733 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.416, allocations: 2.797 kB / 0.7733 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.4162, allocations: 53.23 kB / 0.7733 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4162, allocations: 3.188 kB / 0.7733 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4162, allocations: 4.219 kB / 0.7733 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4162, allocations: 3.125 kB / 0.7733 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4162, allocations: 9.969 kB / 0.7734 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.4168, allocations: 0.5532 MB / 0.7739 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.4169, allocations: 57.88 kB / 0.7739 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4169, allocations: 6.156 kB / 0.774 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4171, allocations: 23.53 kB / 0.774 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.4171, allocations: 23.08 kB / 0.774 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4171, allocations: 5.906 kB / 0.774 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001229/0.4173, allocations: 199 kB / 0.7742 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4173, allocations: 0 / 0.7742 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00043/0.4177, allocations: 105.1 kB / 0.7743 GB, free: 2.004 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001023/0.4187, allocations: 1.193 MB / 0.7755 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.4192, allocations: 250.7 kB / 0.7757 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4192, allocations: 1.281 kB / 0.7757 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.4194, allocations: 142.2 kB / 0.7758 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.4199, allocations: 127.3 kB / 0.776 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.4228, allocations: 2.934 MB / 0.7788 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4229, allocations: 178.4 kB / 0.779 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.4231, allocations: 67.67 kB / 0.7791 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4232, allocations: 91.83 kB / 0.7791 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/0.4232, allocations: 0 / 0.7791 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.4554, allocations: 10.18 MB / 0.7891 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.659, allocations: 4.891 kB / 0.7891 GB, free: 12.38 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.240649408660829] Failed to read output from testmodel.py, exit status != 0: 7.743463745340705 7.750948625 7.342813502 Calling exit ...