Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 192.9 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 81.14 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2337, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002311/0.2361, allocations: 1.248 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.2364, allocations: 127.5 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.2364, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2364, allocations: 4 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.2365, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.2367, allocations: 39.83 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.2368, allocations: 11.94 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2368, allocations: 7.984 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.2369, allocations: 7.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.2369, allocations: 7.984 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2369, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2371, allocations: 51.94 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2371, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.2371, allocations: 3.938 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2372, allocations: 48.16 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2372, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2372, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2372, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003537/0.2376, allocations: 329.9 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2376, allocations: 12.03 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2377, allocations: 30.75 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.2377, allocations: 4.875 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2378, allocations: 168.4 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2379, allocations: 8.312 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.2379, allocations: 384 / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.2379, allocations: 30.27 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.238, allocations: 7.938 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.238, allocations: 0 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.238, allocations: 0 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.238, allocations: 7.938 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.2382, allocations: 157.7 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/0.2382, allocations: 30.53 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.2383, allocations: 8.922 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.2389, allocations: 0.6091 MB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.239, allocations: 30.56 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.239, allocations: 0 / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.2391, allocations: 45.62 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2392, allocations: 51.41 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.2392, allocations: 97.86 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2393, allocations: 29.7 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.2393, allocations: 84.27 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.2393, allocations: 7.844 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2394, allocations: 21.64 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2395, allocations: 314.8 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2395, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.2395, allocations: 4 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.2395, allocations: 12.86 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2396, allocations: 4.062 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.069e-05/0.2396, allocations: 41.69 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2396, allocations: 7.938 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2396, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2397, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.2397, allocations: 4 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2397, allocations: 3.938 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.2397, allocations: 3.906 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2398, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 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 7.9e-05/0.2398, allocations: 121.8 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-06/0.2399, allocations: 3.938 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.161e-05/0.24, allocations: 44.81 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.24, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.24, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.24, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.2401, allocations: 149.7 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2401, allocations: 0 / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.2401, allocations: 4 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2401, allocations: 3.938 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2401, allocations: 4.031 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2401, allocations: 4 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2401, allocations: 3.938 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.207e-05/0.2402, allocations: 65.12 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.2403, allocations: 77.11 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2403, allocations: 11.88 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.2403, allocations: 0 / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.2403, allocations: 8.016 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2403, allocations: 0 / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.2404, allocations: 79.28 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2404, allocations: 0 / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002055/0.2406, allocations: 16 kB / 0.7878 GB, free: 8.5 MB / 0.6075 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.0003981/0.241, allocations: 0.6202 MB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.2411, allocations: 4 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2411, allocations: 0 / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.2411, allocations: 8 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2413, allocations: 8 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.2422, allocations: 1.11 MB / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2425, allocations: 0.6768 MB / 0.7902 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.2425, allocations: 4.062 kB / 0.7902 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.2426, allocations: 7.438 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of SimCode: time 1.683e-06/0.2426, allocations: 4 kB / 0.7902 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.2586, allocations: 1.428 MB / 0.7916 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/7.021, allocations: 11.86 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)