Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006873/0.006873, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001386/0.001386, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 302.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 95.86 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4355, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002492/0.438, allocations: 1.707 MB / 0.768 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006997/0.4387, allocations: 0.5058 MB / 0.7685 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.4388, allocations: 0 / 0.7685 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.4392, allocations: 143.5 kB / 0.7687 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.4392, allocations: 55.67 kB / 0.7687 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.4395, allocations: 59.8 kB / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4396, allocations: 99.5 kB / 0.7689 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.4397, allocations: 15.64 kB / 0.7689 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.4397, allocations: 39.78 kB / 0.7689 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.4398, allocations: 47.81 kB / 0.769 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.4399, allocations: 11.94 kB / 0.769 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.4401, allocations: 83.91 kB / 0.7691 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.4401, allocations: 59.8 kB / 0.7691 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.4402, allocations: 63.56 kB / 0.7692 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.4404, allocations: 193.9 kB / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4405, allocations: 0 / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4405, allocations: 4 kB / 0.7694 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4405, allocations: 0 / 0.7694 GB, free: 0.8633 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005465/0.441, allocations: 478.2 kB / 0.7698 GB, free: 356 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4411, allocations: 19.97 kB / 0.7698 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.4411, allocations: 24.59 kB / 0.7699 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4413, allocations: 215.7 kB / 0.7701 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4413, allocations: 384 / 0.7701 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4413, allocations: 384 / 0.7701 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4415, allocations: 58.23 kB / 0.7701 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.4415, allocations: 3.938 kB / 0.7701 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4415, allocations: 7.938 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4416, allocations: 0 / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.4418, allocations: 63.94 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4422, allocations: 328.9 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4424, allocations: 66.48 kB / 0.7706 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.4425, allocations: 36.91 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4425, allocations: 11.98 kB / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4426, allocations: 38.5 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4426, allocations: 0 / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.4429, allocations: 129.4 kB / 0.7708 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.443, allocations: 55.53 kB / 0.7708 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.4432, allocations: 258.7 kB / 0.7711 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4432, allocations: 29.7 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.4433, allocations: 128.1 kB / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.4433, allocations: 11.83 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.4434, allocations: 17.72 kB / 0.7713 GB, free: 14.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4435, allocations: 326.8 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.4436, allocations: 31.97 kB / 0.7716 GB, free: 14.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.4437, allocations: 35.97 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.4439, allocations: 64.75 kB / 0.7717 GB, free: 14.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4439, allocations: 3.938 kB / 0.7717 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002234/0.4441, allocations: 105.4 kB / 0.7718 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4441, allocations: 12.09 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4441, allocations: 0 / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4442, allocations: 0 / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.4442, allocations: 7.984 kB / 0.7718 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.4443, allocations: 0 / 0.7718 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.4443, allocations: 7.984 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4443, allocations: 4 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001056/0.4444, allocations: 133.8 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4445, allocations: 19.75 kB / 0.772 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4447, allocations: 122.4 kB / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4448, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4448, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.4448, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.445, allocations: 225.5 kB / 0.7723 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.445, allocations: 0 / 0.7723 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.4451, allocations: 7.984 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4451, allocations: 4.031 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.4451, allocations: 4 kB / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4451, allocations: 0 / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4451, allocations: 0 / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4454, allocations: 207.1 kB / 0.7725 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.4454, allocations: 92.91 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.4454, allocations: 4 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.4455, allocations: 8.031 kB / 0.7726 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.4456, allocations: 7.969 kB / 0.7726 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.4456, allocations: 4 kB / 0.7726 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001723/0.4458, allocations: 186 kB / 0.7728 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4458, allocations: 0 / 0.7728 GB, free: 13.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002682/0.446, allocations: 39.98 kB / 0.7729 GB, free: 12.97 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0001764/0.4462, allocations: 131.2 kB / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.4465, allocations: 63.95 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4465, allocations: 0 / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.4466, allocations: 35.91 kB / 0.7731 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.447, allocations: 64.05 kB / 0.7731 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.4475, allocations: 318.3 kB / 0.7734 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4478, allocations: 0.7353 MB / 0.7742 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.4479, allocations: 15.73 kB / 0.7742 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.4479, allocations: 11.44 kB / 0.7742 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.4479, allocations: 0 / 0.7742 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.004289/0.4522, allocations: 1.785 MB / 0.7759 GB, free: 9.797 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)