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.001275/0.001275, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001235/0.001235, allocations: 187 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.261/1.261, 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.002217/0.002217, allocations: 294.4 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.9554/0.9554, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 87.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4115, allocations: 86.99 MB / 0.767 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003107/0.4146, allocations: 1.697 MB / 0.7687 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007795/0.4154, allocations: 0.5097 MB / 0.7692 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.4155, allocations: 0 / 0.7692 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.4159, allocations: 135.5 kB / 0.7693 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.416, allocations: 59.67 kB / 0.7694 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.4163, allocations: 63.78 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.4165, allocations: 99.5 kB / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.4165, allocations: 19.78 kB / 0.7696 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.4166, allocations: 35.8 kB / 0.7696 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.4167, allocations: 43.83 kB / 0.7696 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.4167, allocations: 7.938 kB / 0.7696 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.4169, allocations: 83.91 kB / 0.7697 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.417, allocations: 63.78 kB / 0.7698 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.4171, allocations: 63.56 kB / 0.7698 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.4173, allocations: 189.9 kB / 0.77 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4173, allocations: 0 / 0.77 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4174, allocations: 4 kB / 0.77 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4174, allocations: 0 / 0.77 GB, free: 0.9727 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.0005263/0.4179, allocations: 482.2 kB / 0.7705 GB, free: 464 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4179, allocations: 15.97 kB / 0.7705 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.418, allocations: 20.66 kB / 0.7705 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.4181, allocations: 215.7 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.4182, allocations: 4.312 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4182, allocations: 384 / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.4184, allocations: 58.23 kB / 0.7708 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4184, allocations: 3.938 kB / 0.7708 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4184, allocations: 15.94 kB / 0.7708 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4184, allocations: 3.984 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.4186, allocations: 51.95 kB / 0.7709 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.419, allocations: 324.9 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.4192, allocations: 70.48 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.4193, allocations: 36.89 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.4193, allocations: 11.98 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4193, allocations: 38.5 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.4194, allocations: 0 / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.4197, allocations: 137.4 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4198, allocations: 55.41 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.42, allocations: 250.7 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.42, allocations: 29.7 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.4201, allocations: 132.1 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.4201, allocations: 7.906 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.4201, allocations: 13.72 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4203, allocations: 334.9 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.4203, allocations: 27.98 kB / 0.7723 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.861e-05/0.4204, allocations: 31.97 kB / 0.7723 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4206, allocations: 64.75 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4206, allocations: 3.938 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002198/0.4208, allocations: 117.4 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4209, allocations: 8 kB / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4209, allocations: 3.984 kB / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4209, allocations: 0 / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.421, allocations: 4 kB / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.421, allocations: 0 / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.421, allocations: 11.92 kB / 0.7725 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4211, allocations: 4 kB / 0.7725 GB, free: 14.22 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 9.247e-05/0.4212, allocations: 144.2 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.4212, allocations: 15.81 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.4215, allocations: 118.5 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4215, allocations: 3.938 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4215, allocations: 0 / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4215, allocations: 3.984 kB / 0.7728 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.4217, allocations: 217.5 kB / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4217, allocations: 4.031 kB / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.4218, allocations: 11.98 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4218, allocations: 4 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.4218, allocations: 0 / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4218, allocations: 0 / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4218, allocations: 0 / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4221, allocations: 211.1 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.4221, allocations: 88.92 kB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.4221, allocations: 4 kB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.4222, allocations: 3.984 kB / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.4223, allocations: 8 kB / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.4223, allocations: 0 / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001503/0.4224, allocations: 189.9 kB / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4224, allocations: 4 kB / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002844/0.4227, allocations: 32 kB / 0.7735 GB, free: 13.08 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.0001797/0.4229, allocations: 127.3 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.4232, allocations: 63.94 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4232, allocations: 0 / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.4233, allocations: 31.92 kB / 0.7737 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.4237, allocations: 66.89 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.4243, allocations: 360 kB / 0.7741 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4246, allocations: 0.7392 MB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.4247, allocations: 7.438 kB / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.4247, allocations: 0 / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Templates: time 0.003818/0.4285, allocations: 1.845 MB / 0.7767 GB, free: 9.801 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)