Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 175.5 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006443/0.0006444, allocations: 89.06 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002648, allocations: 8.719 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.0009771/0.135, allocations: 1.013 MB / 0.8972 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.1354, allocations: 311.8 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1355, allocations: 4 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1355, allocations: 3.938 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.1356, allocations: 15.91 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1357, allocations: 47.88 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.1358, allocations: 39.84 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.1358, allocations: 4.281 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.1359, allocations: 27.86 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.1359, allocations: 7.938 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.136, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1361, allocations: 83.91 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.1361, allocations: 7.984 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1361, allocations: 15.86 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1362, allocations: 79.78 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1362, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1363, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.1363, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 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.0002128/0.1365, allocations: 343.5 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.1365, allocations: 8.031 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.1365, allocations: 30.75 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.1366, allocations: 8.938 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.1366, allocations: 172.2 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1366, allocations: 4.375 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.1366, allocations: 4.312 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.1367, allocations: 34.27 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1367, allocations: 3.938 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.1367, allocations: 4 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1368, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.1368, allocations: 7.984 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.085e-05/0.1369, allocations: 165.7 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.1369, allocations: 42.48 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.137, allocations: 8.922 kB / 0.8986 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.1376, allocations: 1.187 MB / 0.8998 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.1376, allocations: 30.56 kB / 0.8998 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1377, allocations: 0 / 0.8998 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001078/0.1378, allocations: 53.62 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.552e-05/0.1378, allocations: 51.41 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.1378, allocations: 109.8 kB / 0.9 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.1378, allocations: 33.7 kB / 0.9 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/0.1379, allocations: 84.08 kB / 0.9001 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1379, allocations: 7.812 kB / 0.9001 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.1379, allocations: 13.66 kB / 0.9001 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.009e-05/0.1379, allocations: 322.8 kB / 0.9004 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.138, allocations: 0 / 0.9004 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-06/0.138, allocations: 4 kB / 0.9005 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.138, allocations: 17.14 kB / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.138, allocations: 0 / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.056e-05/0.1381, allocations: 53.67 kB / 0.9005 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.1381, allocations: 7.938 kB / 0.9005 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1381, allocations: 4 kB / 0.9005 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.1381, allocations: 0 / 0.9005 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.947e-05/0.1381, allocations: 7.938 kB / 0.9005 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1381, allocations: 7.984 kB / 0.9005 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.1382, allocations: 4 kB / 0.9005 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.1382, allocations: 4 kB / 0.9006 GB, free: 63.13 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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 3.44e-05/0.1382, allocations: 105.8 kB / 0.9007 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.1382, allocations: 7.938 kB / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.1383, allocations: 57.59 kB / 0.9007 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1383, allocations: 0 / 0.9007 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1383, allocations: 0 / 0.9007 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1383, allocations: 4 kB / 0.9007 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.272e-05/0.1384, allocations: 165.5 kB / 0.9009 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1384, allocations: 0 / 0.9009 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1384, allocations: 8 kB / 0.9009 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1384, allocations: 3.938 kB / 0.9009 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1385, allocations: 7.938 kB / 0.9009 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1385, allocations: 0 / 0.9009 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1385, allocations: 0 / 0.9009 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.545e-05/0.1385, allocations: 69.12 kB / 0.901 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.1386, allocations: 89.03 kB / 0.901 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1386, allocations: 3.938 kB / 0.9011 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.1386, allocations: 8 kB / 0.9011 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1386, allocations: 3.938 kB / 0.9011 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1386, allocations: 0 / 0.9011 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.1387, allocations: 99.5 kB / 0.9012 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1387, allocations: 0 / 0.9012 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001701/0.1388, allocations: 24 kB / 0.9012 GB, free: 62.38 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.0002232/0.1391, allocations: 0.6435 MB / 0.9018 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.1391, allocations: 15.98 kB / 0.9018 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1391, allocations: 0 / 0.9018 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.1392, allocations: 11.94 kB / 0.9018 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1393, allocations: 4 kB / 0.9018 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.1396, allocations: 175.1 kB / 0.902 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.633e-05/0.1397, allocations: 0.6809 MB / 0.9027 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.1397, allocations: 4.375 kB / 0.9027 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.1397, allocations: 11.42 kB / 0.9027 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1397, allocations: 4 kB / 0.9027 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/0.2905, allocations: 1.431 MB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.2907, allocations: 234.2 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.784, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)