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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 109 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9893/0.9893, allocations: 175.7 MB / 480.1 MB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001729/0.001729, allocations: 67.48 kB / 0.6678 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 94.52 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5214/0.6697, allocations: 176.9 MB / 0.9328 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009964/0.6797, allocations: 8.809 MB / 0.9414 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006562/0.6803, allocations: 24.75 kB / 0.9414 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.6811, allocations: 305.1 kB / 0.9417 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.6818, allocations: 312.8 kB / 0.942 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.6828, allocations: 398.1 kB / 0.9424 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.6838, allocations: 1.147 MB / 0.9435 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006272/0.6845, allocations: 440.7 kB / 0.9439 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.689, allocations: 2.13 MB / 0.946 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.6895, allocations: 363.7 kB / 0.9463 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.6895, allocations: 40.22 kB / 0.9464 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.6897, allocations: 86.59 kB / 0.9465 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.69, allocations: 274.3 kB / 0.9467 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.6903, allocations: 281.3 kB / 0.947 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.691, allocations: 0.6357 MB / 0.9476 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.691, allocations: 0 / 0.9476 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.691, allocations: 0 / 0.9476 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.691, allocations: 0 / 0.9476 GB, free: 7.215 MB / 0.6856 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.001058/0.692, allocations: 0.8376 MB / 0.9484 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6921, allocations: 10.09 kB / 0.9484 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.6922, allocations: 98.38 kB / 0.9485 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.6923, allocations: 73.67 kB / 0.9486 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.6929, allocations: 448.8 kB / 0.949 GB, free: 6 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.693, allocations: 40.31 kB / 0.9491 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.693, allocations: 55.27 kB / 0.9491 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.694, allocations: 0.6983 MB / 0.9498 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.694, allocations: 14.12 kB / 0.9498 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.694, allocations: 28.62 kB / 0.9498 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.6941, allocations: 31.14 kB / 0.9499 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.6947, allocations: 373.7 kB / 0.9502 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.6973, allocations: 3.221 MB / 0.9534 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.6976, allocations: 209.6 kB / 0.9536 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.6977, allocations: 125.2 kB / 0.9537 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.6978, allocations: 10.66 kB / 0.9537 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6978, allocations: 51.89 kB / 0.9538 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.6978, allocations: 3.938 kB / 0.9538 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006619/0.6985, allocations: 253.5 kB / 0.954 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.6986, allocations: 293.4 kB / 0.9543 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.6993, allocations: 0.6884 MB / 0.9549 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.6993, allocations: 25.7 kB / 0.955 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.6995, allocations: 264.9 kB / 0.9552 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.6996, allocations: 40.8 kB / 0.9553 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.6996, allocations: 34.44 kB / 0.9553 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6998, allocations: 373.8 kB / 0.9557 GB, free: 244 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6999, allocations: 36.31 kB / 0.9557 GB, free: 228 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.7001, allocations: 92.88 kB / 0.9558 GB, free: 152 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.7003, allocations: 131.8 kB / 0.9559 GB, free: 52 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7003, allocations: 0 / 0.9559 GB, free: 52 kB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003373/0.7007, allocations: 202.6 kB / 0.9561 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7007, allocations: 7.5 kB / 0.9561 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7007, allocations: 0 / 0.9561 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7007, allocations: 2.125 kB / 0.9561 GB, free: 15.93 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7009, allocations: 39.48 kB / 0.9561 GB, free: 15.92 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7009, allocations: 7.125 kB / 0.9561 GB, free: 15.91 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.7011, allocations: 55 kB / 0.9562 GB, free: 15.88 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.7011, allocations: 10.94 kB / 0.9562 GB, free: 15.87 MB / 0.7013 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.000187/0.7013, allocations: 205.7 kB / 0.9564 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.7015, allocations: 63.5 kB / 0.9565 GB, free: 15.67 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.584e-05/0.7016, allocations: 61.47 kB / 0.9565 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7016, allocations: 2.781 kB / 0.9565 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.7016, allocations: 4.625 kB / 0.9565 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7016, allocations: 6.781 kB / 0.9565 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.7029, allocations: 1.297 MB / 0.9578 GB, free: 14.42 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.703, allocations: 2.719 kB / 0.9578 GB, free: 14.42 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.7031, allocations: 47.27 kB / 0.9579 GB, free: 14.4 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7031, allocations: 5.188 kB / 0.9579 GB, free: 14.4 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7031, allocations: 2.719 kB / 0.9579 GB, free: 14.4 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.7032, allocations: 10.48 kB / 0.9579 GB, free: 14.39 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7032, allocations: 2.469 kB / 0.9579 GB, free: 14.39 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.7035, allocations: 346.5 kB / 0.9582 GB, free: 14.09 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.7037, allocations: 151.8 kB / 0.9583 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.7037, allocations: 8.406 kB / 0.9584 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.7039, allocations: 13.92 kB / 0.9584 GB, free: 13.94 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.704, allocations: 16.7 kB / 0.9584 GB, free: 13.93 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.704, allocations: 5.375 kB / 0.9584 GB, free: 13.93 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0005081/0.7045, allocations: 0.4956 MB / 0.9589 GB, free: 13.57 MB / 0.7013 GB Notification: Performance of sort global known variables: time 9e-08/0.7045, allocations: 0 / 0.9589 GB, free: 13.57 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0003691/0.7048, allocations: 83.89 kB / 0.959 GB, free: 13.49 MB / 0.7013 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.0009214/0.7058, allocations: 0.9023 MB / 0.9598 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.7061, allocations: 107.8 kB / 0.9599 GB, free: 12.43 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7061, allocations: 4.375 kB / 0.9599 GB, free: 12.43 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.7062, allocations: 59.84 kB / 0.96 GB, free: 12.37 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.7074, allocations: 278.3 kB / 0.9603 GB, free: 12.11 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.7127, allocations: 4.462 MB / 0.9646 GB, free: 7.477 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.7132, allocations: 0.9011 MB / 0.9655 GB, free: 6.547 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.7135, allocations: 104.6 kB / 0.9656 GB, free: 6.441 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.7137, allocations: 175.4 kB / 0.9658 GB, free: 6.273 MB / 0.7013 GB Notification: Performance of SimCode: time 4.61e-07/0.7137, allocations: 0 / 0.9658 GB, free: 6.273 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.7545, allocations: 13.65 MB / 0.9791 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.909, allocations: 3.984 kB / 0.9791 GB, free: 8.832 MB / 0.7169 GB " [Timeout remaining time 651] (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 --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: 12.33110856199346]