Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.0007647/0.0007647, allocations: 105.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.0008337/0.0008337, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9187/0.9187, allocations: 230.6 MB / 256 MB, free: 3.574 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.7865/0.7865, allocations: 203.8 MB / 0.5042 GB, free: 0.7344 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.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.0009914/0.0009914, allocations: 66.98 kB / 0.7182 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5131, allocations: 102 MB / 0.8179 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.1606/0.6737, allocations: 198.2 MB / 1.011 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008941/0.6827, allocations: 10.2 MB / 1.021 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.6837, allocations: 39.62 kB / 1.021 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.6847, allocations: 401 kB / 1.022 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.6872, allocations: 1.077 MB / 1.023 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.6904, allocations: 1.411 MB / 1.024 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.6926, allocations: 1.717 MB / 1.026 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009281/0.6935, allocations: 0.6215 MB / 1.026 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.6968, allocations: 1.728 MB / 1.028 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.6975, allocations: 0.5484 MB / 1.029 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.6976, allocations: 60 kB / 1.029 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.7004, allocations: 1.516 MB / 1.03 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.701, allocations: 351 kB / 1.031 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.7015, allocations: 441.7 kB / 1.031 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.705, allocations: 1.506 MB / 1.032 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.705, allocations: 4 kB / 1.032 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.066e-06/0.705, allocations: 0 / 1.032 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.7051, allocations: 0 / 1.032 GB, free: 2.086 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001505/0.7066, allocations: 1.096 MB / 1.034 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.7066, allocations: 9.469 kB / 1.034 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.7067, allocations: 130.6 kB / 1.034 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.7078, allocations: 291.1 kB / 1.034 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.7086, allocations: 0.5126 MB / 1.034 GB, free: 15.99 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.7086, allocations: 54 kB / 1.035 GB, free: 15.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.7087, allocations: 75.98 kB / 1.035 GB, free: 15.86 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.7097, allocations: 0.8986 MB / 1.035 GB, free: 14.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7097, allocations: 4 kB / 1.035 GB, free: 14.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.7097, allocations: 31.98 kB / 1.036 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.7098, allocations: 41.23 kB / 1.036 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.7105, allocations: 0.571 MB / 1.036 GB, free: 14.26 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.7134, allocations: 3.431 MB / 1.039 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.7137, allocations: 211.7 kB / 1.04 GB, free: 10.41 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.7139, allocations: 150.4 kB / 1.04 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.7143, allocations: 115.9 kB / 1.04 GB, free: 10.14 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.7143, allocations: 34.56 kB / 1.04 GB, free: 10.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/0.7143, allocations: 0 / 1.04 GB, free: 10.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.0008907/0.7152, allocations: 457.3 kB / 1.04 GB, free: 9.645 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.7153, allocations: 106.8 kB / 1.04 GB, free: 9.516 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.716, allocations: 0.8644 MB / 1.041 GB, free: 8.637 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.7161, allocations: 33.7 kB / 1.041 GB, free: 8.598 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.7163, allocations: 388.2 kB / 1.042 GB, free: 8.215 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.7163, allocations: 79.44 kB / 1.042 GB, free: 8.137 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.7164, allocations: 57.7 kB / 1.042 GB, free: 8.074 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.7165, allocations: 314 kB / 1.042 GB, free: 7.762 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.7166, allocations: 103.9 kB / 1.042 GB, free: 7.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.7168, allocations: 207.6 kB / 1.042 GB, free: 7.418 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.7171, allocations: 321 kB / 1.043 GB, free: 7.066 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7171, allocations: 0 / 1.043 GB, free: 7.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004639/0.7176, allocations: 396.8 kB / 1.043 GB, free: 6.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7176, allocations: 7.938 kB / 1.043 GB, free: 6.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.7176, allocations: 4.344 kB / 1.043 GB, free: 6.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.7176, allocations: 11.94 kB / 1.043 GB, free: 6.648 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7178, allocations: 63.91 kB / 1.043 GB, free: 6.586 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7179, allocations: 7.938 kB / 1.043 GB, free: 6.578 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.7182, allocations: 87.27 kB / 1.043 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.7182, allocations: 12 kB / 1.043 GB, free: 6.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002409/0.7184, allocations: 230.7 kB / 1.044 GB, free: 6.246 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.7185, allocations: 79.48 kB / 1.044 GB, free: 6.168 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.7193, allocations: 338.7 kB / 1.044 GB, free: 5.832 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7193, allocations: 4 kB / 1.044 GB, free: 5.828 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.7193, allocations: 0 / 1.044 GB, free: 5.828 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7193, allocations: 3.938 kB / 1.044 GB, free: 5.824 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.7206, allocations: 1.345 MB / 1.045 GB, free: 4.375 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.7206, allocations: 4 kB / 1.045 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.7207, allocations: 43.91 kB / 1.045 GB, free: 4.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.7207, allocations: 4.531 kB / 1.045 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.7207, allocations: 15.94 kB / 1.045 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7207, allocations: 8 kB / 1.045 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7207, allocations: 11.92 kB / 1.045 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.7212, allocations: 0.5092 MB / 1.046 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.7213, allocations: 115.4 kB / 1.046 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.7214, allocations: 8 kB / 1.046 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.7215, allocations: 19.92 kB / 1.046 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.7216, allocations: 31.84 kB / 1.046 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7216, allocations: 15.94 kB / 1.046 GB, free: 3.523 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005194/0.7221, allocations: 0.6122 MB / 1.047 GB, free: 2.918 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7221, allocations: 0 / 1.047 GB, free: 2.918 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004533/0.7226, allocations: 159.8 kB / 1.047 GB, free: 2.762 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0007953/0.7234, allocations: 1.129 MB / 1.048 GB, free: 1.555 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.7238, allocations: 270.8 kB / 1.048 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7238, allocations: 0 / 1.048 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.7239, allocations: 123.7 kB / 1.048 GB, free: 1.172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.725, allocations: 424.1 kB / 1.049 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.7305, allocations: 6.003 MB / 1.055 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.731, allocations: 0.9919 MB / 1.055 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.7315, allocations: 162.2 kB / 1.056 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.7317, allocations: 275.3 kB / 1.056 GB, free: 9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.442e-06/0.7317, allocations: 0 / 1.056 GB, free: 9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/1.161, allocations: 21.07 MB / 1.076 GB, free: 240.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/8.576, allocations: 8.625 kB / 1.076 GB, free: 240.6 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.444031323073432] Failed to read output from testmodel.py, exit status != 0: 8.665925791021436 8.677521465 7.970626303 Calling exit ...