Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.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.0008637/0.0008637, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001312/0.001312, allocations: 212.1 kB / 22.25 MB, free: 3.57 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.9168/0.9168, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6797/0.6797, allocations: 150.8 MB / 463.2 MB, free: 6.484 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 87.72 kB / 0.6392 GB, free: 32.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1528, allocations: 88.07 MB / 0.7252 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.4783/0.6311, allocations: 128.4 MB / 0.8506 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005047/0.6316, allocations: 382.2 kB / 0.8509 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.6316, allocations: 0 / 0.8509 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.6319, allocations: 29.42 kB / 0.851 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.6323, allocations: 135.5 kB / 0.8511 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.6326, allocations: 119.6 kB / 0.8512 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.6328, allocations: 132.4 kB / 0.8513 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.6329, allocations: 5.688 kB / 0.8513 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.633, allocations: 77.62 kB / 0.8514 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.6331, allocations: 39.92 kB / 0.8514 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.6331, allocations: 8.312 kB / 0.8515 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.6334, allocations: 172.9 kB / 0.8516 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.6335, allocations: 14 kB / 0.8516 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.6335, allocations: 27.73 kB / 0.8517 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.6338, allocations: 197.9 kB / 0.8518 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6338, allocations: 0 / 0.8518 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6339, allocations: 1.562 kB / 0.8518 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6339, allocations: 0 / 0.8518 GB, free: 1.711 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003967/0.6343, allocations: 298.2 kB / 0.8521 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6343, allocations: 15.31 kB / 0.8521 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.6343, allocations: 39.25 kB / 0.8522 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.6347, allocations: 40.73 kB / 0.8522 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.6349, allocations: 139.1 kB / 0.8524 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.6349, allocations: 2.25 kB / 0.8524 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.6349, allocations: 7.625 kB / 0.8524 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.6351, allocations: 193.6 kB / 0.8526 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6351, allocations: 0 / 0.8526 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6351, allocations: 5.562 kB / 0.8526 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6352, allocations: 1.344 kB / 0.8526 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6353, allocations: 65.38 kB / 0.8526 GB, free: 1.105 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.6358, allocations: 489.8 kB / 0.8531 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.636, allocations: 72.94 kB / 0.8532 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.636, allocations: 31.19 kB / 0.8532 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.6361, allocations: 1.531 kB / 0.8532 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.6361, allocations: 39.31 kB / 0.8532 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6361, allocations: 0 / 0.8532 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002242/0.6363, allocations: 110.2 kB / 0.8533 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.6363, allocations: 58.59 kB / 0.8534 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.6364, allocations: 112.3 kB / 0.8535 GB, free: 432 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.6364, allocations: 26.86 kB / 0.8535 GB, free: 400 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.6364, allocations: 100.7 kB / 0.8536 GB, free: 304 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.6364, allocations: 25.45 kB / 0.8536 GB, free: 288 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.6365, allocations: 30.94 kB / 0.8537 GB, free: 272 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.6365, allocations: 315.2 kB / 0.854 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.6366, allocations: 32.56 kB / 0.854 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.6366, allocations: 59.77 kB / 0.8541 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.6367, allocations: 96.58 kB / 0.8542 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6367, allocations: 0 / 0.8542 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001715/0.6369, allocations: 124.8 kB / 0.8543 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.6369, allocations: 13.69 kB / 0.8543 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.637, allocations: 1.25 kB / 0.8543 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.637, allocations: 2.375 kB / 0.8543 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6372, allocations: 58.55 kB / 0.8543 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003012/0.6375, allocations: 0.5937 MB / 0.8549 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.6375, allocations: 7.938 kB / 0.8549 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.6376, allocations: 7.844 kB / 0.8549 GB, free: 15.23 MB / 0.6511 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.703e-05/0.6376, allocations: 128.8 kB / 0.8551 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.6377, allocations: 7.297 kB / 0.8551 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.6379, allocations: 125.7 kB / 0.8552 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6379, allocations: 2.172 kB / 0.8552 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6379, allocations: 0 / 0.8552 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6379, allocations: 2.344 kB / 0.8552 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.6381, allocations: 172.5 kB / 0.8554 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6381, allocations: 0 / 0.8554 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.6383, allocations: 49.03 kB / 0.8554 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6383, allocations: 0 / 0.8554 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6383, allocations: 7.375 kB / 0.8554 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002486/0.6385, allocations: 0.5901 MB / 0.856 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6385, allocations: 4.688 kB / 0.856 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.6387, allocations: 191.8 kB / 0.8562 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.6387, allocations: 10.91 kB / 0.8562 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.6387, allocations: 5.062 kB / 0.8562 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.6388, allocations: 6.312 kB / 0.8562 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.6388, allocations: 10.73 kB / 0.8562 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.6388, allocations: 6.75 kB / 0.8562 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.6389, allocations: 92.61 kB / 0.8563 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.6389, allocations: 0.5938 kB / 0.8563 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002332/0.6391, allocations: 32.23 kB / 0.8563 GB, free: 14.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004919/0.6396, allocations: 0.7543 MB / 0.8571 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.6399, allocations: 97.23 kB / 0.8572 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6399, allocations: 0.5312 kB / 0.8572 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.64, allocations: 54.94 kB / 0.8572 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6402, allocations: 25.31 kB / 0.8572 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.6416, allocations: 1.489 MB / 0.8587 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.6416, allocations: 77.5 kB / 0.8588 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.6417, allocations: 17.23 kB / 0.8588 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.6417, allocations: 22.02 kB / 0.8588 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of SimCode: time 4.7e-07/0.6417, allocations: 0 / 0.8588 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.6612, allocations: 4.006 MB / 0.8627 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.259, allocations: 9.047 kB / 0.8627 GB, free: 11.08 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 10.968313729390502] Failed to read output from testmodel.py, exit status != 0: 8.346362095326185 8.358571909 7.722717852 Calling exit ...