Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.001885/0.001885, allocations: 109 kB / 20.48 MB, free: 1.473 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.00259/0.00259, allocations: 211.4 kB / 23.79 MB, free: 4.684 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9921/0.9921, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002019/0.002019, allocations: 65.7 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1964, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6154/0.8118, allocations: 177.1 MB / 0.902 GB, free: 6.316 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.8155, allocations: 1.874 MB / 0.9038 GB, free: 4.438 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.8159, allocations: 19.81 kB / 0.9039 GB, free: 4.418 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.8167, allocations: 218.5 kB / 0.9041 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.8186, allocations: 0.7895 MB / 0.9048 GB, free: 3.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.8208, allocations: 0.8912 MB / 0.9057 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.822, allocations: 0.8534 MB / 0.9065 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.8225, allocations: 239.7 kB / 0.9068 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.8237, allocations: 0.5878 MB / 0.9074 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.8241, allocations: 286.8 kB / 0.9076 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.8242, allocations: 28 kB / 0.9077 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.8263, allocations: 1.188 MB / 0.9088 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.8265, allocations: 123.6 kB / 0.9089 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.8267, allocations: 211 kB / 0.9091 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.8282, allocations: 0.9151 MB / 0.91 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8282, allocations: 0 / 0.91 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8282, allocations: 0 / 0.91 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8282, allocations: 0 / 0.91 GB, free: 14.09 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001781/0.83, allocations: 0.7107 MB / 0.9107 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.8301, allocations: 12.03 kB / 0.9107 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.39e-05/0.8301, allocations: 12.59 kB / 0.9107 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.8302, allocations: 66.53 kB / 0.9108 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.8312, allocations: 160.5 kB / 0.911 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.8319, allocations: 307.6 kB / 0.9113 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.8319, allocations: 20.66 kB / 0.9113 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.832, allocations: 28 kB / 0.9113 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.8327, allocations: 395.5 kB / 0.9117 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.8327, allocations: 11.88 kB / 0.9117 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.8328, allocations: 8 kB / 0.9117 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.8328, allocations: 12.66 kB / 0.9117 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.8335, allocations: 346.3 kB / 0.912 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.8358, allocations: 1.747 MB / 0.9137 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.8363, allocations: 227.2 kB / 0.914 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.8365, allocations: 128.8 kB / 0.9141 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.837, allocations: 75.91 kB / 0.9142 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.837, allocations: 34.56 kB / 0.9142 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.837, allocations: 0 / 0.9142 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.8381, allocations: 385.1 kB / 0.9146 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.8381, allocations: 55.41 kB / 0.9146 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.8385, allocations: 361.7 kB / 0.915 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.8385, allocations: 29.7 kB / 0.915 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.8387, allocations: 196.4 kB / 0.9152 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.8388, allocations: 75.31 kB / 0.9152 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.8389, allocations: 49.7 kB / 0.9153 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.839, allocations: 346.7 kB / 0.9156 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.8393, allocations: 91.92 kB / 0.9157 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.8395, allocations: 154.4 kB / 0.9159 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.84, allocations: 263.5 kB / 0.9161 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.84, allocations: 0 / 0.9161 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000599/0.8406, allocations: 306.5 kB / 0.9164 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8406, allocations: 4 kB / 0.9164 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.8406, allocations: 5 kB / 0.9164 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8407, allocations: 3.938 kB / 0.9164 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.8409, allocations: 51.91 kB / 0.9165 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.8409, allocations: 0 / 0.9165 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.8412, allocations: 35.81 kB / 0.9165 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.8412, allocations: 15.94 kB / 0.9165 GB, free: 7.082 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001775/0.8414, allocations: 161.8 kB / 0.9167 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.8414, allocations: 39.77 kB / 0.9167 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.8421, allocations: 299.8 kB / 0.917 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.8421, allocations: 4 kB / 0.917 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8421, allocations: 0.5 kB / 0.917 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8422, allocations: 3.938 kB / 0.917 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.8437, allocations: 0.8692 MB / 0.9178 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.8437, allocations: 4.812 kB / 0.9178 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.8439, allocations: 43.91 kB / 0.9179 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.844, allocations: 4 kB / 0.9179 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.844, allocations: 8 kB / 0.9179 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.844, allocations: 4 kB / 0.9179 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.844, allocations: 7.188 kB / 0.9179 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.8447, allocations: 448.8 kB / 0.9183 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.8449, allocations: 55.73 kB / 0.9184 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.8449, allocations: 11.98 kB / 0.9184 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.8452, allocations: 12 kB / 0.9184 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.8453, allocations: 31.88 kB / 0.9184 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.8453, allocations: 8 kB / 0.9185 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003416/0.8456, allocations: 263.1 kB / 0.9187 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8456, allocations: 0 / 0.9187 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005187/0.8461, allocations: 99.83 kB / 0.9188 GB, free: 4.594 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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 Backend phase and start with SimCode phase: time 0.001349/0.8475, allocations: 1.04 MB / 0.9198 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.8481, allocations: 243.6 kB / 0.92 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8481, allocations: 0 / 0.92 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.8483, allocations: 116.7 kB / 0.9202 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.8495, allocations: 219.4 kB / 0.9204 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.8542, allocations: 3.302 MB / 0.9236 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.8548, allocations: 0.8074 MB / 0.9244 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000336/0.8551, allocations: 88.11 kB / 0.9245 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.8553, allocations: 119.4 kB / 0.9246 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of SimCode: time 1.283e-06/0.8553, allocations: 0 / 0.9246 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.8925, allocations: 11.08 MB / 0.9354 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.84, allocations: 11.61 kB / 0.9354 GB, free: 3.633 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.85828006704105] Failed to read output from testmodel.py, exit status != 0: 13.016583004966378 13.042300619 12.20906432 Calling exit ...