Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 103 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 187.2 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 55.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 77.93 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1863/0.5642, allocations: 176 MB / 0.7391 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.5751, allocations: 8.724 MB / 0.7476 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.576, allocations: 19.88 kB / 0.7477 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008624/0.5769, allocations: 305.8 kB / 0.748 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.578, allocations: 302.4 kB / 0.7482 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.5793, allocations: 373.9 kB / 0.7486 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3162/0.8955, allocations: 1.141 MB / 0.7497 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.8966, allocations: 0.5855 MB / 0.7503 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.9014, allocations: 2.053 MB / 0.7523 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.9022, allocations: 350.5 kB / 0.7526 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.9023, allocations: 40.5 kB / 0.7527 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.9026, allocations: 86.42 kB / 0.7527 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.903, allocations: 253.9 kB / 0.753 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.9034, allocations: 284.3 kB / 0.7533 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.9042, allocations: 0.6061 MB / 0.7538 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9042, allocations: 2.031 kB / 0.7538 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9042, allocations: 3.094 kB / 0.7539 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.9042, allocations: 1 kB / 0.7539 GB, free: 2.016 MB / 0.5762 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.001154/0.9054, allocations: 0.8207 MB / 0.7547 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9055, allocations: 9.75 kB / 0.7547 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.9056, allocations: 99.39 kB / 0.7548 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.9057, allocations: 71.09 kB / 0.7548 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.9063, allocations: 413.5 kB / 0.7552 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.9064, allocations: 45.61 kB / 0.7553 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.9065, allocations: 51.89 kB / 0.7553 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.9078, allocations: 0.7007 MB / 0.756 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.9078, allocations: 4.656 kB / 0.756 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.9078, allocations: 26.94 kB / 0.756 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.9079, allocations: 29.28 kB / 0.7561 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.9087, allocations: 381.1 kB / 0.7564 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.9112, allocations: 3.227 MB / 0.7596 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.9114, allocations: 224.1 kB / 0.7598 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.9116, allocations: 130.5 kB / 0.7599 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.9117, allocations: 6.562 kB / 0.7599 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.9117, allocations: 48.09 kB / 0.76 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.9117, allocations: 0.875 kB / 0.76 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007088/0.9124, allocations: 245.7 kB / 0.7602 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.9126, allocations: 292.1 kB / 0.7605 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.9133, allocations: 0.6837 MB / 0.7611 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.9134, allocations: 34.64 kB / 0.7612 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.9135, allocations: 271.3 kB / 0.7614 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.9136, allocations: 38.55 kB / 0.7615 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.9136, allocations: 32.17 kB / 0.7615 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9138, allocations: 364 kB / 0.7618 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.9139, allocations: 36.61 kB / 0.7619 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.9141, allocations: 102.7 kB / 0.762 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9144, allocations: 124.3 kB / 0.7621 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9144, allocations: 0 / 0.7621 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003886/0.9148, allocations: 195.5 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9148, allocations: 7 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9148, allocations: 1.469 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9148, allocations: 2.656 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.9151, allocations: 42.86 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9151, allocations: 4.141 kB / 0.7623 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.9153, allocations: 56.73 kB / 0.7624 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.9154, allocations: 11.45 kB / 0.7624 GB, free: 12.96 MB / 0.5919 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.0002097/0.9156, allocations: 199 kB / 0.7626 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.9158, allocations: 61.55 kB / 0.7627 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9e-05/0.9159, allocations: 58.44 kB / 0.7627 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.9159, allocations: 4.266 kB / 0.7627 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9159, allocations: 2.938 kB / 0.7627 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.916, allocations: 4.656 kB / 0.7627 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.9174, allocations: 1.311 MB / 0.764 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9174, allocations: 2 kB / 0.764 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.9176, allocations: 43.42 kB / 0.764 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9176, allocations: 4 kB / 0.7641 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.9176, allocations: 4.344 kB / 0.7641 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.9176, allocations: 3.219 kB / 0.7641 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.9177, allocations: 6.719 kB / 0.7641 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.9181, allocations: 340.5 kB / 0.7644 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.9182, allocations: 147.6 kB / 0.7645 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.9183, allocations: 4.562 kB / 0.7645 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.9185, allocations: 12.27 kB / 0.7645 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.9185, allocations: 17.64 kB / 0.7646 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9185, allocations: 8.844 kB / 0.7646 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006102/0.9191, allocations: 0.494 MB / 0.7651 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9191, allocations: 0 / 0.7651 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005054/0.9197, allocations: 86.31 kB / 0.7651 GB, free: 11.37 MB / 0.5919 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.0009107/0.9206, allocations: 0.8961 MB / 0.766 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.9209, allocations: 113.9 kB / 0.7661 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9209, allocations: 1.188 kB / 0.7661 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.9211, allocations: 61.48 kB / 0.7662 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.9225, allocations: 295.4 kB / 0.7665 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.928, allocations: 4.575 MB / 0.7709 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.9285, allocations: 0.9045 MB / 0.7718 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003696/0.9289, allocations: 108.4 kB / 0.7719 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.9291, allocations: 169.5 kB / 0.7721 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.9291, allocations: 0 / 0.7721 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.9647, allocations: 13.46 MB / 0.7852 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.505, allocations: 11.78 kB / 0.7852 GB, free: 7.078 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)