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.0007818/0.0007818, 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.0008057/0.0008057, 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.8335/0.8335, 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.6686/0.6686, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.399e-05, allocations: 4.125 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.3951/0.3952, allocations: 145.7 MB / 0.7604 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3976, allocations: 1.493 MB / 0.7618 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.398, allocations: 14.47 kB / 0.7619 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.3984, allocations: 157.3 kB / 0.762 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3996, allocations: 480.1 kB / 0.7625 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4013, allocations: 0.8126 MB / 0.7633 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000813/0.4021, allocations: 0.7108 MB / 0.764 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.4025, allocations: 206 kB / 0.7642 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009495/0.4034, allocations: 0.5537 MB / 0.7647 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.4037, allocations: 203.8 kB / 0.7649 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.4038, allocations: 24.22 kB / 0.7649 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.405, allocations: 0.7421 MB / 0.7656 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.4052, allocations: 125 kB / 0.7658 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4053, allocations: 107 kB / 0.7659 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4065, allocations: 0.7824 MB / 0.7666 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4065, allocations: 0 / 0.7666 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4065, allocations: 1.156 kB / 0.7666 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.4065, allocations: 0 / 0.7666 GB, free: 6.512 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.001027/0.4076, allocations: 0.6053 MB / 0.7672 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4076, allocations: 9 kB / 0.7672 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.4077, allocations: 59.59 kB / 0.7673 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.408, allocations: 93.03 kB / 0.7674 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.4084, allocations: 249.2 kB / 0.7676 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4084, allocations: 19.06 kB / 0.7676 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.4084, allocations: 23.81 kB / 0.7676 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.4089, allocations: 359.2 kB / 0.768 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4089, allocations: 5.156 kB / 0.768 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4089, allocations: 6.531 kB / 0.768 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.409, allocations: 6.219 kB / 0.768 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.4094, allocations: 283.2 kB / 0.7683 GB, free: 5.512 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.001129/0.4105, allocations: 0.9829 MB / 0.7692 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.411, allocations: 237.8 kB / 0.7695 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.4112, allocations: 123.8 kB / 0.7696 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.4116, allocations: 88.02 kB / 0.7697 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4116, allocations: 41.48 kB / 0.7697 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.4116, allocations: 0 / 0.7697 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0007927/0.4124, allocations: 404.4 kB / 0.7701 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4124, allocations: 57.62 kB / 0.7701 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.4126, allocations: 270.5 kB / 0.7704 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.4126, allocations: 34.31 kB / 0.7704 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.4127, allocations: 173.1 kB / 0.7706 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4127, allocations: 65.11 kB / 0.7707 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.4128, allocations: 50.84 kB / 0.7707 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.4128, allocations: 338.4 kB / 0.771 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.413, allocations: 104.1 kB / 0.7711 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4132, allocations: 241.4 kB / 0.7714 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4136, allocations: 273.8 kB / 0.7716 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4136, allocations: 0.5625 kB / 0.7716 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004446/0.414, allocations: 317.4 kB / 0.7719 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.414, allocations: 5.797 kB / 0.7719 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.414, allocations: 1.375 kB / 0.7719 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.414, allocations: 2.594 kB / 0.7719 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4142, allocations: 65.45 kB / 0.772 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4142, allocations: 3.594 kB / 0.772 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4144, allocations: 46.27 kB / 0.772 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.4144, allocations: 11.73 kB / 0.7721 GB, free: 3.27 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.0001012/0.4145, allocations: 152.3 kB / 0.7722 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4145, allocations: 29.17 kB / 0.7722 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.415, allocations: 318.7 kB / 0.7725 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.415, allocations: 1.641 kB / 0.7725 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.415, allocations: 1.125 kB / 0.7725 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.415, allocations: 5.297 kB / 0.7725 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008923/0.4159, allocations: 0.7502 MB / 0.7733 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4159, allocations: 1.125 kB / 0.7733 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.416, allocations: 49.8 kB / 0.7733 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.416, allocations: 4.031 kB / 0.7733 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.416, allocations: 11.41 kB / 0.7733 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.416, allocations: 3.25 kB / 0.7733 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.416, allocations: 6.094 kB / 0.7734 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.4167, allocations: 0.557 MB / 0.7739 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.4167, allocations: 54.33 kB / 0.7739 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4168, allocations: 5.297 kB / 0.774 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4169, allocations: 26.8 kB / 0.774 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.4169, allocations: 27.44 kB / 0.774 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.417, allocations: 7.312 kB / 0.774 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001246/0.4171, allocations: 197 kB / 0.7742 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4171, allocations: 0 / 0.7742 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004166/0.4175, allocations: 112.3 kB / 0.7743 GB, free: 2.027 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.001016/0.4185, allocations: 1.18 MB / 0.7755 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.419, allocations: 247.5 kB / 0.7757 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.419, allocations: 320 / 0.7757 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4191, allocations: 142 kB / 0.7758 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.4196, allocations: 127.6 kB / 0.776 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.4225, allocations: 2.939 MB / 0.7788 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.4227, allocations: 184.4 kB / 0.779 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.4229, allocations: 68.14 kB / 0.7791 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.423, allocations: 89.88 kB / 0.7791 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.423, allocations: 0 / 0.7791 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4478, allocations: 10.17 MB / 0.7891 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/7.871, allocations: 5.109 kB / 0.7891 GB, free: 12.45 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.499022047035396] Failed to read output from testmodel.py, exit status != 0: 7.954352907836437 7.96441245 7.556074777 Calling exit ...