Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 105.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002318/0.002318, allocations: 282.4 kB / 303 MB, free: 3.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 180.9 MB / 0.5261 GB, free: 2.762 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 107.8 kB / 0.7248 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.509, allocations: 94.15 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.2005/0.7095, allocations: 177.1 MB / 0.9897 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.7253, allocations: 10.96 MB / 1 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.7265, allocations: 31.81 kB / 1 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.7277, allocations: 424.6 kB / 1.001 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.7309, allocations: 1.123 MB / 1.002 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.735, allocations: 1.731 MB / 1.004 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.7382, allocations: 2.373 MB / 1.006 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.7399, allocations: 1.15 MB / 1.007 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.7432, allocations: 1.298 MB / 1.008 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.7442, allocations: 0.8247 MB / 1.009 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.7444, allocations: 160 kB / 1.009 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.7472, allocations: 1.466 MB / 1.011 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.7476, allocations: 454.5 kB / 1.011 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008165/0.7484, allocations: 0.7852 MB / 1.012 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.7521, allocations: 2.588 MB / 1.014 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7521, allocations: 3.984 kB / 1.014 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7521, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.7521, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003354/0.7555, allocations: 1.939 MB / 1.016 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7555, allocations: 8.031 kB / 1.016 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.7557, allocations: 181.4 kB / 1.016 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.7578, allocations: 358.7 kB / 1.017 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.7595, allocations: 0.9961 MB / 1.018 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/0.7596, allocations: 90.33 kB / 1.018 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7597, allocations: 120 kB / 1.018 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.762, allocations: 1.302 MB / 1.019 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.762, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.7621, allocations: 59.97 kB / 1.019 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.7621, allocations: 28 kB / 1.019 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.7645, allocations: 1.445 MB / 1.021 GB, free: 15.33 MB / 0.7637 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.006318/0.7708, allocations: 4.035 MB / 1.025 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.773, allocations: 1.157 MB / 1.026 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.7737, allocations: 415.6 kB / 1.026 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.7745, allocations: 421.5 kB / 1.027 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.7756, allocations: 0.6722 MB / 1.027 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 4.349e-06/0.7756, allocations: 3.984 kB / 1.027 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of matching and sorting (n=106): time 0.003902/0.7795, allocations: 1.603 MB / 1.029 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.7796, allocations: 204.9 kB / 1.029 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.7808, allocations: 0.8828 MB / 1.03 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.7808, allocations: 49.64 kB / 1.03 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.7813, allocations: 0.5208 MB / 1.03 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.7816, allocations: 372.8 kB / 1.031 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.7819, allocations: 190.6 kB / 1.031 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7821, allocations: 345.9 kB / 1.031 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.7828, allocations: 369.8 kB / 1.032 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.7836, allocations: 0.4932 MB / 1.032 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.7851, allocations: 0.8445 MB / 1.033 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7851, allocations: 0 / 1.033 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002447/0.7876, allocations: 1.118 MB / 1.034 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7876, allocations: 8 kB / 1.034 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7876, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.7882, allocations: 84.86 kB / 1.034 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.7891, allocations: 223.7 kB / 1.034 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.7913, allocations: 1.653 MB / 1.036 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.7922, allocations: 135.2 kB / 1.036 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.7922, allocations: 35.98 kB / 1.036 GB, free: 14.91 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.7928, allocations: 325.7 kB / 1.036 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.793, allocations: 119.2 kB / 1.037 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.7961, allocations: 1.505 MB / 1.038 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7961, allocations: 12 kB / 1.038 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.7961, allocations: 0 / 1.038 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.7961, allocations: 7.922 kB / 1.038 GB, free: 12.91 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.004797/0.8009, allocations: 2.843 MB / 1.041 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8009, allocations: 0 / 1.041 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/0.8018, allocations: 195.9 kB / 1.041 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.8022, allocations: 76.78 kB / 1.041 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.8023, allocations: 39.91 kB / 1.041 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.8042, allocations: 1.685 MB / 1.043 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8042, allocations: 3.938 kB / 1.043 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.8078, allocations: 1.863 MB / 1.045 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/0.8084, allocations: 355.9 kB / 1.045 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.8086, allocations: 28 kB / 1.045 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.8094, allocations: 74.33 kB / 1.045 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.8096, allocations: 92.81 kB / 1.045 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.8097, allocations: 43.97 kB / 1.045 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000859/0.8105, allocations: 0.6301 MB / 1.046 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8105, allocations: 0 / 1.046 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001118/0.8117, allocations: 458.9 kB / 1.046 GB, free: 4.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005741/0.8174, allocations: 3.031 MB / 1.049 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.8195, allocations: 1.03 MB / 1.05 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8196, allocations: 4 kB / 1.05 GB, free: 316 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.8207, allocations: 0.6217 MB / 1.051 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.8228, allocations: 0.5285 MB / 1.051 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.837, allocations: 8.803 MB / 1.06 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.8378, allocations: 1.166 MB / 1.061 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001197/0.839, allocations: 373.6 kB / 1.061 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.8398, allocations: 0.5344 MB / 1.062 GB, free: 4.078 MB / 0.795 GB Notification: Performance of SimCode: time 8.22e-07/0.8398, allocations: 0 / 1.062 GB, free: 4.078 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/0.9144, allocations: 33.34 MB / 1.095 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.26, allocations: 9.016 kB / 1.095 GB, free: 3.156 MB / 0.8262 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.65899998228997] Failed to read output from testmodel.py, exit status != 0: 14.468867542222142 14.48296563 13.728045857 Calling exit ...