Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_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.00569/0.00569, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001137/0.001137, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7443/0.7443, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.33 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 80.22 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5353/0.6812, allocations: 176 MB / 0.831 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009404/0.6907, allocations: 8.704 MB / 0.8395 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.6916, allocations: 20.34 kB / 0.8396 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.6924, allocations: 300.8 kB / 0.8399 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.6932, allocations: 318.8 kB / 0.8402 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009779/0.6942, allocations: 382.6 kB / 0.8405 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.6953, allocations: 1.156 MB / 0.8416 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.696, allocations: 0.5778 MB / 0.8422 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.7004, allocations: 2.137 MB / 0.8443 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.7009, allocations: 349.3 kB / 0.8446 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.701, allocations: 41.16 kB / 0.8447 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.7012, allocations: 81.86 kB / 0.8447 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.7014, allocations: 261.2 kB / 0.845 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.7017, allocations: 283.3 kB / 0.8453 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.7023, allocations: 0.6483 MB / 0.8459 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7024, allocations: 0 / 0.8459 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7024, allocations: 0 / 0.8459 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.7024, allocations: 0 / 0.8459 GB, free: 3.738 MB / 0.6075 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.0009466/0.7033, allocations: 0.8237 MB / 0.8467 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7034, allocations: 10.66 kB / 0.8467 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.473e-05/0.7035, allocations: 94.64 kB / 0.8468 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.7036, allocations: 75.67 kB / 0.8469 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.7042, allocations: 442.1 kB / 0.8473 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.7043, allocations: 44.3 kB / 0.8473 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.7043, allocations: 51.22 kB / 0.8474 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.7053, allocations: 0.7098 MB / 0.8481 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7053, allocations: 10.44 kB / 0.8481 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.7053, allocations: 17.34 kB / 0.8481 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.7054, allocations: 42.31 kB / 0.8482 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.706, allocations: 373.3 kB / 0.8485 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.7085, allocations: 3.218 MB / 0.8517 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.7088, allocations: 215.8 kB / 0.8519 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.709, allocations: 125.6 kB / 0.852 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.709, allocations: 10.73 kB / 0.852 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.7091, allocations: 44.56 kB / 0.852 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.7091, allocations: 3.938 kB / 0.852 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006519/0.7097, allocations: 250.6 kB / 0.8523 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.7099, allocations: 293.4 kB / 0.8526 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.7106, allocations: 0.6829 MB / 0.8532 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.7106, allocations: 32.11 kB / 0.8532 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.7108, allocations: 264.8 kB / 0.8535 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.7109, allocations: 36.64 kB / 0.8535 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.7109, allocations: 31.31 kB / 0.8536 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7111, allocations: 370.3 kB / 0.8539 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7112, allocations: 36.02 kB / 0.854 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.7114, allocations: 94.69 kB / 0.854 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.7116, allocations: 128.4 kB / 0.8542 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7116, allocations: 3.938 kB / 0.8542 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003112/0.7119, allocations: 194.4 kB / 0.8544 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7119, allocations: 4.406 kB / 0.8544 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.712, allocations: 2.906 kB / 0.8544 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.712, allocations: 2.781 kB / 0.8544 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.7122, allocations: 45.14 kB / 0.8544 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7122, allocations: 2.406 kB / 0.8544 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.7124, allocations: 60.83 kB / 0.8545 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.7124, allocations: 5.031 kB / 0.8545 GB, free: 12.43 MB / 0.6231 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.0002017/0.7127, allocations: 202.7 kB / 0.8547 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.7129, allocations: 65.17 kB / 0.8547 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.713, allocations: 55.36 kB / 0.8548 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.713, allocations: 4.969 kB / 0.8548 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.713, allocations: 6.594 kB / 0.8548 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.713, allocations: 1.875 kB / 0.8548 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.7143, allocations: 1.3 MB / 0.8561 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7144, allocations: 3.984 kB / 0.8561 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.7145, allocations: 46.19 kB / 0.8561 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7146, allocations: 2.344 kB / 0.8561 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.7146, allocations: 2.688 kB / 0.8561 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7146, allocations: 5.797 kB / 0.8561 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7146, allocations: 7.156 kB / 0.8561 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.7149, allocations: 348.3 kB / 0.8565 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.7151, allocations: 142.8 kB / 0.8566 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.7152, allocations: 4.875 kB / 0.8566 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.7153, allocations: 13.23 kB / 0.8566 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.7154, allocations: 16.89 kB / 0.8566 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.7154, allocations: 9.188 kB / 0.8566 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004767/0.7159, allocations: 0.4888 MB / 0.8571 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7159, allocations: 2.375 kB / 0.8571 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003648/0.7162, allocations: 84.59 kB / 0.8572 GB, free: 10.2 MB / 0.6231 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.000892/0.7171, allocations: 0.9077 MB / 0.8581 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.7174, allocations: 108.3 kB / 0.8582 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7175, allocations: 0 / 0.8582 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7176, allocations: 64.84 kB / 0.8583 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.7187, allocations: 282 kB / 0.8585 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.7239, allocations: 4.44 MB / 0.8629 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.7244, allocations: 0.9011 MB / 0.8637 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.7247, allocations: 108.6 kB / 0.8638 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.7249, allocations: 171.4 kB / 0.864 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.7249, allocations: 0 / 0.864 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.7561, allocations: 13.59 MB / 0.8773 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.793, allocations: 6.438 kB / 0.8773 GB, free: 6.18 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)