Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",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.001231/0.001231, allocations: 112.5 kB / 15.73 MB, free: 76 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.001202/0.001202, allocations: 186.3 kB / 16.66 MB, free: 6.539 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 290.4 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9622/0.9622, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003973/0.003973, allocations: 99.94 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2049, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002911/0.2078, allocations: 1.439 MB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.2081, allocations: 88.53 kB / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.2082, allocations: 0 / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.2082, allocations: 0 / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.2083, allocations: 11.92 kB / 0.7674 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2085, allocations: 27.91 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.2085, allocations: 19.92 kB / 0.7675 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.2086, allocations: 8 kB / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.2087, allocations: 15.94 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.2087, allocations: 7.984 kB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2087, allocations: 0 / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.2088, allocations: 19.98 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2088, allocations: 7.938 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2089, allocations: 11.92 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.209, allocations: 36.11 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.209, allocations: 4 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.209, allocations: 0 / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.209, allocations: 0 / 0.7676 GB, free: 7.219 MB / 0.5606 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.0004815/0.2095, allocations: 351.3 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2095, allocations: 12.02 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.2096, allocations: 30.75 kB / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2097, allocations: 16.88 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2099, allocations: 160.4 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2099, allocations: 4.375 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2099, allocations: 384 / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2101, allocations: 58.22 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2101, allocations: 7.938 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2102, allocations: 4 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2102, allocations: 0 / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.2104, allocations: 47.89 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.2108, allocations: 257 kB / 0.7685 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2109, allocations: 58.48 kB / 0.7685 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2111, allocations: 32.89 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2111, allocations: 0 / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.2111, allocations: 30.56 kB / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2111, allocations: 0 / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003955/0.2115, allocations: 113.5 kB / 0.7687 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.2116, allocations: 51.41 kB / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.2117, allocations: 105.8 kB / 0.7688 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2117, allocations: 25.7 kB / 0.7689 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.2117, allocations: 84.14 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2118, allocations: 12.02 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.2118, allocations: 13.72 kB / 0.769 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.212, allocations: 322.8 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2121, allocations: 19.98 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.2122, allocations: 19.97 kB / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.2124, allocations: 60.81 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2124, allocations: 7.875 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000236/0.2126, allocations: 77.59 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2126, allocations: 11.98 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2127, allocations: 0 / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2127, allocations: 0 / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2128, allocations: 16.27 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2128, allocations: 0 / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.2129, allocations: 8 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.2129, allocations: 0 / 0.7695 GB, free: 5.004 MB / 0.5606 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 8.84e-05/0.213, allocations: 122.4 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.213, allocations: 3.953 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.213, allocations: 7.516 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.213, allocations: 4 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2131, allocations: 4 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2131, allocations: 0 / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2133, allocations: 165.6 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2133, allocations: 4 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.2134, allocations: 7.984 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.2134, allocations: 0 / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2134, allocations: 7.938 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2134, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2134, allocations: 0 / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.2137, allocations: 179.4 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.2138, allocations: 77.11 kB / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2138, allocations: 0 / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2139, allocations: 7.984 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.2139, allocations: 8 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.214, allocations: 3.984 kB / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.214, allocations: 83.31 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.214, allocations: 0 / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002962/0.2143, allocations: 4 kB / 0.7701 GB, free: 4.234 MB / 0.5606 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.0006095/0.2149, allocations: 0.7202 MB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2152, allocations: 47.95 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2152, allocations: 0 / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2153, allocations: 27.97 kB / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2157, allocations: 4.062 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.2162, allocations: 167 kB / 0.7711 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2165, allocations: 0.6768 MB / 0.7717 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2165, allocations: 3.938 kB / 0.7718 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2166, allocations: 11.44 kB / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2166, allocations: 0 / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2447, allocations: 1.462 MB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.196, allocations: 14.59 kB / 0.7732 GB, free: 1.113 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)