Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001492/0.001492, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 279.9 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5069 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 99.19 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2007, allocations: 89.16 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.004357/0.2051, allocations: 1.774 MB / 0.6947 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2072, allocations: 0.9847 MB / 0.6957 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.2073, allocations: 0 / 0.6957 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.208, allocations: 159.2 kB / 0.6958 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.2081, allocations: 43.8 kB / 0.6959 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.2086, allocations: 95.7 kB / 0.696 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2088, allocations: 107.5 kB / 0.6961 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.531e-05/0.2089, allocations: 4 kB / 0.6961 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.209, allocations: 43.77 kB / 0.6961 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2092, allocations: 67.7 kB / 0.6962 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2092, allocations: 0 / 0.6962 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.2096, allocations: 143.7 kB / 0.6963 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2098, allocations: 63.84 kB / 0.6964 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.784e-05/0.2099, allocations: 59.56 kB / 0.6964 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2104, allocations: 247.5 kB / 0.6967 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2104, allocations: 0 / 0.6967 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2104, allocations: 0 / 0.6967 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2104, allocations: 0 / 0.6967 GB, free: 0.9336 MB / 494.1 MB 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.0009098/0.2113, allocations: 494.1 kB / 0.6971 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.2114, allocations: 12.03 kB / 0.6971 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.2115, allocations: 16.75 kB / 0.6972 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2118, allocations: 215.7 kB / 0.6974 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2118, allocations: 8.312 kB / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2118, allocations: 384 / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.2121, allocations: 65.78 kB / 0.6974 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2121, allocations: 0 / 0.6974 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2121, allocations: 4 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2121, allocations: 4 kB / 0.6974 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2125, allocations: 55.95 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.2132, allocations: 328.8 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.2134, allocations: 66.48 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2136, allocations: 36.89 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.2137, allocations: 12 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.2137, allocations: 38.55 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.2137, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000601/0.2143, allocations: 137.4 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.2144, allocations: 59.33 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.2149, allocations: 258.8 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.215, allocations: 29.7 kB / 0.6984 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.2151, allocations: 140 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2152, allocations: 3.906 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.2153, allocations: 21.66 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002561/0.2155, allocations: 334.8 kB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2157, allocations: 31.97 kB / 0.6989 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2158, allocations: 31.98 kB / 0.699 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.2161, allocations: 60.81 kB / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2161, allocations: 0 / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003822/0.2165, allocations: 105.5 kB / 0.6991 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2166, allocations: 7.938 kB / 0.6991 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2166, allocations: 4.094 kB / 0.6991 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2166, allocations: 4 kB / 0.6991 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2167, allocations: 7.984 kB / 0.6991 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2168, allocations: 0 / 0.6991 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2169, allocations: 4 kB / 0.6991 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2169, allocations: 4 kB / 0.6992 GB, free: 14.17 MB / 0.4981 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.0001719/0.2171, allocations: 137.8 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.2171, allocations: 19.72 kB / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.2176, allocations: 118.5 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2176, allocations: 3.984 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2176, allocations: 0 / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2176, allocations: 0 / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.218, allocations: 221.5 kB / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.218, allocations: 3.984 kB / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.2181, allocations: 11.94 kB / 0.6996 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2181, allocations: 0 / 0.6996 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2181, allocations: 32 / 0.6996 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2182, allocations: 4 kB / 0.6996 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2182, allocations: 0 / 0.6996 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.2186, allocations: 207.2 kB / 0.6998 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.2187, allocations: 92.83 kB / 0.6999 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.2188, allocations: 0 / 0.6999 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.2189, allocations: 12.02 kB / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.219, allocations: 0 / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.219, allocations: 0 / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002611/0.2193, allocations: 193.9 kB / 0.7001 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2193, allocations: 3.938 kB / 0.7001 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004456/0.2197, allocations: 59.92 kB / 0.7002 GB, free: 13 MB / 0.4981 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.0004081/0.2202, allocations: 143.2 kB / 0.7003 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.2205, allocations: 67.89 kB / 0.7004 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2205, allocations: 0 / 0.7004 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.2206, allocations: 31.97 kB / 0.7004 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.2214, allocations: 59.28 kB / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.2222, allocations: 374.4 kB / 0.7008 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.2228, allocations: 0.7275 MB / 0.7015 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.2228, allocations: 8 kB / 0.7016 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.2229, allocations: 11.44 kB / 0.7016 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2229, allocations: 0 / 0.7016 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.00755/0.2304, allocations: 1.874 MB / 0.7034 GB, free: 9.699 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)