Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.0008264/0.0008264, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008622/0.0008622, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.633 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.7954/0.7954, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.0009099/0.0009099, allocations: 73.66 kB / 0.7183 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5534, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.153/0.7064, allocations: 166.8 MB / 0.9808 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.7103, allocations: 4.656 MB / 0.9853 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.7107, allocations: 15.88 kB / 0.9854 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.7111, allocations: 123 kB / 0.9855 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.7122, allocations: 0.5796 MB / 0.986 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.7138, allocations: 0.8319 MB / 0.9869 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.7145, allocations: 0.5885 MB / 0.9874 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.7148, allocations: 167.8 kB / 0.9876 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.7162, allocations: 0.6928 MB / 0.9883 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.7168, allocations: 318.8 kB / 0.9886 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.7168, allocations: 16 kB / 0.9886 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.7184, allocations: 1.114 MB / 0.9897 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.7185, allocations: 95.72 kB / 0.9898 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.7187, allocations: 123.4 kB / 0.9899 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.7201, allocations: 0.7165 MB / 0.9906 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.7201, allocations: 4 kB / 0.9906 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7201, allocations: 3.938 kB / 0.9906 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7201, allocations: 0 / 0.9906 GB, free: 4.602 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001458/0.7216, allocations: 0.5314 MB / 0.9911 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.7216, allocations: 12.03 kB / 0.9911 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.7217, allocations: 50.55 kB / 0.9912 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.7221, allocations: 83.67 kB / 0.9912 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.7226, allocations: 245.5 kB / 0.9915 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.7226, allocations: 15.94 kB / 0.9915 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.7226, allocations: 20 kB / 0.9915 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.723, allocations: 279.5 kB / 0.9918 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.723, allocations: 7.922 kB / 0.9918 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.723, allocations: 11.94 kB / 0.9918 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.723, allocations: 4 kB / 0.9918 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.7233, allocations: 199.8 kB / 0.992 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.7244, allocations: 1.202 MB / 0.9932 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.7246, allocations: 173 kB / 0.9933 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.7247, allocations: 108.2 kB / 0.9934 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.7251, allocations: 108 kB / 0.9935 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7251, allocations: 38.56 kB / 0.9936 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.7251, allocations: 0 / 0.9936 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0005536/0.7257, allocations: 281.1 kB / 0.9938 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.7257, allocations: 162.2 kB / 0.994 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.7264, allocations: 292.1 kB / 0.9943 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.7265, allocations: 34.2 kB / 0.9943 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7266, allocations: 144 kB / 0.9944 GB, free: 360 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.7266, allocations: 51.53 kB / 0.9945 GB, free: 308 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.7267, allocations: 37.7 kB / 0.9945 GB, free: 264 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7268, allocations: 342.8 kB / 0.9949 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.7269, allocations: 67.94 kB / 0.9949 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.7271, allocations: 140.5 kB / 0.9951 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.7274, allocations: 211.5 kB / 0.9953 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7274, allocations: 0 / 0.9953 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003479/0.7277, allocations: 249.3 kB / 0.9955 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7277, allocations: 7.984 kB / 0.9955 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7277, allocations: 4 kB / 0.9955 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7278, allocations: 4 kB / 0.9955 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.7279, allocations: 43.92 kB / 0.9956 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7279, allocations: 4 kB / 0.9956 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.728, allocations: 27.77 kB / 0.9956 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.7281, allocations: 24.16 kB / 0.9956 GB, free: 15.08 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001212/0.7282, allocations: 149.7 kB / 0.9958 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.7283, allocations: 27.86 kB / 0.9958 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.7286, allocations: 186.9 kB / 0.996 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7286, allocations: 4 kB / 0.996 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7286, allocations: 0 / 0.996 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7286, allocations: 7.938 kB / 0.996 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.7292, allocations: 0.8189 MB / 0.9968 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7292, allocations: 4 kB / 0.9968 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.7293, allocations: 23.92 kB / 0.9968 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7293, allocations: 0 / 0.9968 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7293, allocations: 11.98 kB / 0.9968 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7293, allocations: 8.094 kB / 0.9968 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7293, allocations: 4 kB / 0.9968 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.7297, allocations: 335.5 kB / 0.9971 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.7297, allocations: 39.81 kB / 0.9972 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.7297, allocations: 4 kB / 0.9972 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.7298, allocations: 8.156 kB / 0.9972 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.7299, allocations: 15.97 kB / 0.9972 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.7299, allocations: 8 kB / 0.9972 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001712/0.73, allocations: 239.1 kB / 0.9974 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.73, allocations: 0 / 0.9974 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004234/0.7305, allocations: 103.7 kB / 0.9975 GB, free: 12.98 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0008758/0.7313, allocations: 0.9745 MB / 0.9985 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.7316, allocations: 143.8 kB / 0.9986 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7316, allocations: 0 / 0.9986 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.7317, allocations: 63.83 kB / 0.9987 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.7322, allocations: 133.5 kB / 0.9988 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.7348, allocations: 2.771 MB / 1.002 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.7351, allocations: 0.7636 MB / 1.002 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00017/0.7352, allocations: 58.89 kB / 1.002 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.7353, allocations: 75.41 kB / 1.002 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.7353, allocations: 0 / 1.002 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.7576, allocations: 8.789 MB / 1.011 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/7.377, allocations: 4.531 kB / 1.011 GB, free: 15.18 MB / 0.7917 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.401568110100925] Failed to read output from testmodel.py, exit status != 0: 7.460578736150637 7.472935898 6.750847723 Calling exit ...