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) 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/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005219/0.005218, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001287/0.001287, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9867/0.9867, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001825, allocations: 63.89 kB / 0.5858 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3928, allocations: 81.01 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.2066/0.5994, allocations: 176 MB / 0.8367 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.6105, allocations: 8.71 MB / 0.8452 GB, free: 7.535 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.6112, allocations: 19.88 kB / 0.8453 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.6122, allocations: 301.7 kB / 0.8455 GB, free: 7.219 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0009237/0.6132, allocations: 306.4 kB / 0.8458 GB, free: 6.918 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.6143, allocations: 377.7 kB / 0.8462 GB, free: 6.551 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.6159, allocations: 1.148 MB / 0.8473 GB, free: 5.398 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009657/0.6168, allocations: 0.5955 MB / 0.8479 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/0.6215, allocations: 2.058 MB / 0.8499 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.6221, allocations: 350.4 kB / 0.8502 GB, free: 2.391 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.6222, allocations: 43.94 kB / 0.8503 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.6225, allocations: 83.89 kB / 0.8504 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.6228, allocations: 251.4 kB / 0.8506 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.6232, allocations: 286.5 kB / 0.8509 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.6241, allocations: 0.651 MB / 0.8515 GB, free: 1.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6241, allocations: 0 / 0.8515 GB, free: 1.086 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6241, allocations: 0 / 0.8515 GB, free: 1.086 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.6241, allocations: 0 / 0.8515 GB, free: 1.086 MB / 0.67 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.001227/0.6254, allocations: 0.8411 MB / 0.8523 GB, free: 196 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6254, allocations: 12.03 kB / 0.8523 GB, free: 184 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.6256, allocations: 98.5 kB / 0.8524 GB, free: 76 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.6257, allocations: 67.58 kB / 0.8525 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.6265, allocations: 446.5 kB / 0.8529 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.6265, allocations: 33.31 kB / 0.853 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.6266, allocations: 59.98 kB / 0.853 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6277, allocations: 0.7035 MB / 0.8537 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.6278, allocations: 8 kB / 0.8537 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.6278, allocations: 23.98 kB / 0.8537 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.6279, allocations: 35.92 kB / 0.8538 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007052/0.6286, allocations: 379.3 kB / 0.8541 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.6315, allocations: 3.224 MB / 0.8573 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.6318, allocations: 210.1 kB / 0.8575 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.632, allocations: 136.5 kB / 0.8576 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.632, allocations: 8 kB / 0.8576 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.6321, allocations: 46.48 kB / 0.8577 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.6321, allocations: 0 / 0.8577 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.000736/0.6328, allocations: 249.6 kB / 0.8579 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.633, allocations: 290.7 kB / 0.8582 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.6338, allocations: 0.6844 MB / 0.8588 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.6338, allocations: 37.7 kB / 0.8589 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.6341, allocations: 264.3 kB / 0.8591 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.6341, allocations: 31.7 kB / 0.8592 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.6342, allocations: 34.03 kB / 0.8592 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.6344, allocations: 370.8 kB / 0.8595 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6345, allocations: 31.97 kB / 0.8596 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.6347, allocations: 97.05 kB / 0.8597 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.635, allocations: 133 kB / 0.8598 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.635, allocations: 192 / 0.8598 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003823/0.6354, allocations: 201.1 kB / 0.86 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6354, allocations: 7.938 kB / 0.86 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6354, allocations: 8.188 kB / 0.86 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6354, allocations: 0 / 0.86 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.6357, allocations: 39.95 kB / 0.86 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6357, allocations: 3.984 kB / 0.86 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6359, allocations: 63.45 kB / 0.8601 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.636, allocations: 7.984 kB / 0.8601 GB, free: 7.664 MB / 0.6856 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.0002247/0.6362, allocations: 205.7 kB / 0.8603 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.6364, allocations: 67.56 kB / 0.8604 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.83e-05/0.6365, allocations: 60.31 kB / 0.8604 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6365, allocations: 4 kB / 0.8604 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6365, allocations: 3.984 kB / 0.8604 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6365, allocations: 4 kB / 0.8604 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.6382, allocations: 1.301 MB / 0.8617 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6382, allocations: 0 / 0.8617 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.6384, allocations: 40.23 kB / 0.8618 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6384, allocations: 8 kB / 0.8618 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.6384, allocations: 8 kB / 0.8618 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6384, allocations: 3.938 kB / 0.8618 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6384, allocations: 7.938 kB / 0.8618 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.6389, allocations: 334.8 kB / 0.8621 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.6391, allocations: 156.6 kB / 0.8622 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.6391, allocations: 8 kB / 0.8623 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6393, allocations: 15.92 kB / 0.8623 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.6394, allocations: 15.92 kB / 0.8623 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.6394, allocations: 4 kB / 0.8623 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005883/0.64, allocations: 0.4951 MB / 0.8628 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.64, allocations: 0 / 0.8628 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003964/0.6404, allocations: 79.94 kB / 0.8629 GB, free: 4.703 MB / 0.6856 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.001011/0.6414, allocations: 0.9059 MB / 0.8637 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.6418, allocations: 119.7 kB / 0.8638 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6418, allocations: 0 / 0.8638 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6419, allocations: 52.84 kB / 0.8639 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6432, allocations: 285 kB / 0.8642 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3099/0.9531, allocations: 4.462 MB / 0.8685 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.9535, allocations: 0.9076 MB / 0.8694 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003189/0.9538, allocations: 104.4 kB / 0.8695 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.954, allocations: 168.4 kB / 0.8697 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.954, allocations: 3.656 kB / 0.8697 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.9948, allocations: 13.59 MB / 0.8829 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.543, allocations: 12.84 kB / 0.883 GB, free: 187.5 MB / 0.6856 GB (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)