Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001258/0.001258, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001364/0.001364, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 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 1.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8018/0.8018, allocations: 134 MB / 446.4 MB, free: 10.43 MB / 350.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/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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 66.27 kB / 0.6185 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1623, allocations: 85.91 MB / 0.7024 GB, free: 1.137 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5282/0.6905, allocations: 150.5 MB / 0.8494 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006947/0.6974, allocations: 5.511 MB / 0.8548 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.6978, allocations: 19.88 kB / 0.8548 GB, free: 7.258 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.6985, allocations: 192.2 kB / 0.855 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.6989, allocations: 91.38 kB / 0.855 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.7002, allocations: 0.5256 MB / 0.8556 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.7008, allocations: 414.4 kB / 0.856 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.7011, allocations: 99.58 kB / 0.8561 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.7015, allocations: 191.3 kB / 0.8562 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.7018, allocations: 147.4 kB / 0.8564 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.7018, allocations: 20 kB / 0.8564 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007358/0.7026, allocations: 378.8 kB / 0.8568 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.7027, allocations: 63.83 kB / 0.8568 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.7028, allocations: 91.53 kB / 0.8569 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.7035, allocations: 454.3 kB / 0.8573 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7035, allocations: 0 / 0.8573 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7035, allocations: 0 / 0.8573 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.7035, allocations: 0 / 0.8573 GB, free: 4.629 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006802/0.7042, allocations: 461.3 kB / 0.8578 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7043, allocations: 12.03 kB / 0.8578 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.003e-05/0.7043, allocations: 58.55 kB / 0.8578 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.7046, allocations: 47.8 kB / 0.8579 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.705, allocations: 199.7 kB / 0.8581 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.7052, allocations: 242.1 kB / 0.8583 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.7053, allocations: 23.94 kB / 0.8583 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.7057, allocations: 293.9 kB / 0.8586 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.7057, allocations: 4 kB / 0.8586 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.7058, allocations: 8 kB / 0.8586 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7058, allocations: 8 kB / 0.8586 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.7061, allocations: 156.6 kB / 0.8588 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.7076, allocations: 1.513 MB / 0.8603 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.7077, allocations: 173.1 kB / 0.8604 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.7077, allocations: 88.06 kB / 0.8605 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.7077, allocations: 83.22 kB / 0.8606 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.7078, allocations: 105.8 kB / 0.8607 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7078, allocations: 0 / 0.8607 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.7079, allocations: 49.55 kB / 0.8607 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.708, allocations: 126.7 kB / 0.8609 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.7083, allocations: 317.7 kB / 0.8612 GB, free: 436 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.7084, allocations: 25.7 kB / 0.8612 GB, free: 404 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7085, allocations: 199.6 kB / 0.8614 GB, free: 200 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-06/0.7085, allocations: 7.938 kB / 0.8614 GB, free: 192 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.7086, allocations: 45.66 kB / 0.8614 GB, free: 140 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7087, allocations: 334.8 kB / 0.8617 GB, free: 15.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.7088, allocations: 35.97 kB / 0.8618 GB, free: 15.76 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.709, allocations: 161.1 kB / 0.8619 GB, free: 15.54 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.7092, allocations: 196.8 kB / 0.8621 GB, free: 15.29 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.7092, allocations: 0 / 0.8621 GB, free: 15.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004155/0.7096, allocations: 217 kB / 0.8623 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7097, allocations: 8.625 kB / 0.8623 GB, free: 15.06 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.7097, allocations: 8 kB / 0.8623 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7097, allocations: 8 kB / 0.8624 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.7099, allocations: 43.91 kB / 0.8624 GB, free: 15 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7099, allocations: 8 kB / 0.8624 GB, free: 15 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.71, allocations: 27.73 kB / 0.8624 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.7101, allocations: 16 kB / 0.8624 GB, free: 14.95 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001536/0.7102, allocations: 217 kB / 0.8626 GB, free: 14.73 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.7103, allocations: 124.8 kB / 0.8628 GB, free: 14.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.7104, allocations: 125.7 kB / 0.8629 GB, free: 14.47 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-05/0.7104, allocations: 176.3 kB / 0.8631 GB, free: 14.29 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.7105, allocations: 188.2 kB / 0.8632 GB, free: 14.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.503e-05/0.7106, allocations: 180.3 kB / 0.8634 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.7109, allocations: 444.8 kB / 0.8638 GB, free: 13.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.711, allocations: 108.9 kB / 0.8639 GB, free: 13.32 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.711, allocations: 101 kB / 0.864 GB, free: 13.21 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.183e-05/0.7111, allocations: 192.2 kB / 0.8642 GB, free: 13.02 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.7112, allocations: 179.9 kB / 0.8644 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.141e-05/0.7112, allocations: 180.2 kB / 0.8646 GB, free: 12.66 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-05/0.7113, allocations: 180.3 kB / 0.8647 GB, free: 12.47 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.7115, allocations: 327.6 kB / 0.865 GB, free: 12.13 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.7116, allocations: 132.8 kB / 0.8652 GB, free: 11.99 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7117, allocations: 184.2 kB / 0.8653 GB, free: 11.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.7118, allocations: 101 kB / 0.8654 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.7119, allocations: 180.2 kB / 0.8656 GB, free: 11.52 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.712, allocations: 116.9 kB / 0.8657 GB, free: 11.39 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0002496/0.7122, allocations: 217.2 kB / 0.8659 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.7122, allocations: 0 / 0.8659 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.000343/0.7125, allocations: 59.83 kB / 0.866 GB, free: 11.12 MB / 0.6388 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 (0): * Single equations (assignments): 0 * 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.0005589/0.7131, allocations: 0.8524 MB / 0.8668 GB, free: 10.24 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.7133, allocations: 80.72 kB / 0.8669 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7133, allocations: 320 / 0.8669 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.7133, allocations: 7.938 kB / 0.8669 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.7138, allocations: 483.7 kB / 0.8674 GB, free: 9.684 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.7166, allocations: 2.497 MB / 0.8698 GB, free: 7 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7167, allocations: 128.9 kB / 0.8699 GB, free: 6.855 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.7169, allocations: 33.94 kB / 0.87 GB, free: 6.824 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.7169, allocations: 59.42 kB / 0.87 GB, free: 6.766 MB / 0.6388 GB Notification: Performance of SimCode: time 3.91e-07/0.7169, allocations: 4 kB / 0.87 GB, free: 6.762 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.7489, allocations: 4.594 MB / 0.8745 GB, free: 2.332 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.34, allocations: 7.188 kB / 0.8745 GB, free: 2.332 MB / 0.6388 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.69569854112342] Failed to read output from testmodel.py, exit status != 0: 11.440473060123622 11.457028809 10.750353784 Calling exit ...