Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.001033/0.001033, 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.001273/0.001273, allocations: 165.9 kB / 22.45 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7353/0.7353, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.727e-05, allocations: 2.281 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4213/0.4213, allocations: 155.3 MB / 0.7697 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007742/0.429, allocations: 7.991 MB / 0.7775 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009519/0.43, allocations: 32.69 kB / 0.7775 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.4308, allocations: 313.6 kB / 0.7778 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0008249/0.4316, allocations: 329.3 kB / 0.7781 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4327, allocations: 462.2 kB / 0.7786 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4341, allocations: 1.154 MB / 0.7797 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006454/0.4347, allocations: 435.7 kB / 0.7801 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.4391, allocations: 2.264 MB / 0.7823 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.4397, allocations: 311.9 kB / 0.7826 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.902e-05/0.4398, allocations: 40.12 kB / 0.7827 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.44, allocations: 82.42 kB / 0.7827 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.4403, allocations: 279.7 kB / 0.783 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.4405, allocations: 186.9 kB / 0.7832 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.4412, allocations: 0.6355 MB / 0.7838 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4412, allocations: 4 kB / 0.7838 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4412, allocations: 1.375 kB / 0.7838 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.4412, allocations: 0 / 0.7838 GB, free: 10.92 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001273/0.4425, allocations: 0.7525 MB / 0.7845 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4425, allocations: 14.75 kB / 0.7846 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.845e-05/0.4426, allocations: 99.83 kB / 0.7846 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.4427, allocations: 72.7 kB / 0.7847 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.4434, allocations: 379.3 kB / 0.7851 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.4434, allocations: 47.59 kB / 0.7851 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.4435, allocations: 52.31 kB / 0.7852 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.4443, allocations: 0.7013 MB / 0.7859 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4444, allocations: 6.25 kB / 0.7859 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.4444, allocations: 21.97 kB / 0.7859 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.4444, allocations: 35.53 kB / 0.7859 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.4449, allocations: 371.6 kB / 0.7863 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.447, allocations: 3.069 MB / 0.7893 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4472, allocations: 220.3 kB / 0.7895 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4474, allocations: 129.1 kB / 0.7896 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.4474, allocations: 2.938 kB / 0.7896 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4474, allocations: 48.05 kB / 0.7897 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.4474, allocations: 0 / 0.7897 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004807/0.4479, allocations: 251.2 kB / 0.7899 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.448, allocations: 298 kB / 0.7902 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.4486, allocations: 0.6827 MB / 0.7908 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4486, allocations: 32.45 kB / 0.7909 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4488, allocations: 266.1 kB / 0.7911 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4488, allocations: 33.8 kB / 0.7912 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.4488, allocations: 34.64 kB / 0.7912 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4489, allocations: 369.4 kB / 0.7915 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.449, allocations: 32.91 kB / 0.7916 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.4492, allocations: 233.7 kB / 0.7918 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4493, allocations: 123.5 kB / 0.7919 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4493, allocations: 0 / 0.7919 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000223/0.4495, allocations: 196.7 kB / 0.7921 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4496, allocations: 5.875 kB / 0.7921 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4496, allocations: 1.406 kB / 0.7921 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4496, allocations: 6.375 kB / 0.7921 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4497, allocations: 42 kB / 0.7922 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4497, allocations: 13.34 kB / 0.7922 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.4499, allocations: 58.12 kB / 0.7922 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4499, allocations: 5.469 kB / 0.7922 GB, free: 4.531 MB / 0.6511 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 (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 prepare postOptimizeDAE: time 0.0001712/0.4501, allocations: 206.6 kB / 0.7924 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4502, allocations: 59.75 kB / 0.7925 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.4503, allocations: 57.81 kB / 0.7925 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4503, allocations: 4.438 kB / 0.7925 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4503, allocations: 9.375 kB / 0.7926 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4503, allocations: 6.078 kB / 0.7926 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4513, allocations: 1.236 MB / 0.7938 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4513, allocations: 5.078 kB / 0.7938 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4514, allocations: 42.06 kB / 0.7938 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.4514, allocations: 4.016 kB / 0.7938 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4515, allocations: 4.031 kB / 0.7938 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4515, allocations: 11.69 kB / 0.7938 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4515, allocations: 2.656 kB / 0.7938 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.4517, allocations: 333.7 kB / 0.7942 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.4518, allocations: 73.97 kB / 0.7942 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4519, allocations: 4.125 kB / 0.7942 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.4519, allocations: 13.86 kB / 0.7942 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.452, allocations: 15.67 kB / 0.7943 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.452, allocations: 9.5 kB / 0.7943 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004191/0.4524, allocations: 0.496 MB / 0.7947 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4524, allocations: 0 / 0.7947 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003263/0.4527, allocations: 85.89 kB / 0.7948 GB, free: 2.715 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0005574/0.4533, allocations: 0.8832 MB / 0.7957 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4535, allocations: 114.4 kB / 0.7958 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4535, allocations: 0 / 0.7958 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.4536, allocations: 59.83 kB / 0.7959 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.4544, allocations: 285.9 kB / 0.7961 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.4584, allocations: 4.469 MB / 0.8005 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.4586, allocations: 321.6 kB / 0.8008 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.4588, allocations: 105 kB / 0.8009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.459, allocations: 171.6 kB / 0.8011 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.459, allocations: 0 / 0.8011 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.4907, allocations: 15.25 MB / 0.816 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/8.122, allocations: 2.594 kB / 0.816 GB, free: 8.125 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.828447767533362] Failed to read output from testmodel.py, exit status != 0: 8.20938273705542 8.219019074 7.775967379 Calling exit ...