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.001269/0.001269, allocations: 105.7 kB / 16.41 MB, free: 6.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.001256/0.001256, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 286 kB / 291.5 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.9013/0.9013, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4185, allocations: 86.96 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003109/0.4217, allocations: 1.716 MB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.4227, allocations: 0.5058 MB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.4228, allocations: 0 / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.4233, allocations: 147.4 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.4234, allocations: 47.73 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.4238, allocations: 67.8 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.424, allocations: 103.5 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.424, allocations: 7.656 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.4241, allocations: 47.77 kB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.4243, allocations: 43.78 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.4243, allocations: 0 / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.4245, allocations: 91.83 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.4246, allocations: 55.81 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.4247, allocations: 71.53 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.425, allocations: 186 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.425, allocations: 4 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.425, allocations: 0 / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.425, allocations: 0 / 0.77 GB, free: 0.8359 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.0007019/0.4257, allocations: 482.2 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4258, allocations: 11.97 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.4259, allocations: 20.66 kB / 0.7705 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.4261, allocations: 215.7 kB / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4261, allocations: 384 / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4261, allocations: 12.36 kB / 0.7707 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.4263, allocations: 66.16 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4263, allocations: 3.938 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4264, allocations: 0 / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4264, allocations: 0 / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.4266, allocations: 59.95 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.4271, allocations: 328.9 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4272, allocations: 70.42 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.4273, allocations: 36.83 kB / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.4274, allocations: 8 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4274, allocations: 38.55 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4274, allocations: 8 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.4278, allocations: 129.4 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4278, allocations: 51.41 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.428, allocations: 254.7 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4281, allocations: 25.7 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.4282, allocations: 136.1 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.4282, allocations: 11.97 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.4282, allocations: 17.72 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4283, allocations: 330.8 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.4284, allocations: 31.92 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.4285, allocations: 27.97 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4287, allocations: 68.88 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4287, allocations: 3.938 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002239/0.4289, allocations: 109.4 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4289, allocations: 4 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4289, allocations: 0 / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.429, allocations: 0 / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.4291, allocations: 11.98 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4291, allocations: 32 / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.12e-05/0.4291, allocations: 11.94 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4292, allocations: 0 / 0.7725 GB, free: 14.09 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.0001031/0.4293, allocations: 145.7 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.4293, allocations: 15.81 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.4296, allocations: 114.5 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4296, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4296, allocations: 4.031 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4296, allocations: 0 / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.4298, allocations: 221.5 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4298, allocations: 0 / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.4299, allocations: 11.98 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4299, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4299, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4299, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4299, allocations: 4 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4301, allocations: 215.1 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4302, allocations: 88.92 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.4302, allocations: 0 / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.4303, allocations: 7.984 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.4304, allocations: 3.938 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4304, allocations: 4 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4305, allocations: 194 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4305, allocations: 0 / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002543/0.4308, allocations: 40 kB / 0.7735 GB, free: 12.94 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.0001862/0.431, allocations: 127.2 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4312, allocations: 63.89 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4312, allocations: 0 / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.4313, allocations: 32.05 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.4317, allocations: 48.38 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.4323, allocations: 372 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4326, allocations: 0.7353 MB / 0.7748 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.4326, allocations: 11.44 kB / 0.7749 GB, free: 11.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4326, allocations: 0 / 0.7749 GB, free: 11.49 MB / 0.545 GB Notification: Performance of Templates: time 0.003496/0.4361, allocations: 1.862 MB / 0.7767 GB, free: 9.652 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)