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.001057/0.001057, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002/0.002, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 294.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8063/0.8063, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 98.8 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00192/0.1201, allocations: 1.498 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.1203, allocations: 87.03 kB / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.1203, allocations: 0 / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.1204, allocations: 3.938 kB / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.1204, allocations: 0 / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.1205, allocations: 15.97 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.1206, allocations: 27.92 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.1207, allocations: 10.44 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.1207, allocations: 11.92 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.617e-05/0.1207, allocations: 11.92 kB / 0.6814 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1207, allocations: 4 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-05/0.1208, allocations: 12 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.1208, allocations: 4.734 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.1208, allocations: 11.94 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.528e-05/0.1209, allocations: 45.53 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1209, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1209, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1209, allocations: 0 / 0.6814 GB, free: 15.22 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.000319/0.1213, allocations: 344.7 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1213, allocations: 8.031 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.1213, allocations: 39.56 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1214, allocations: 12.92 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.1215, allocations: 168.8 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1216, allocations: 1.594 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.1216, allocations: 4.375 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1217, allocations: 55.06 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1217, allocations: 3.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.1217, allocations: 8 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1217, allocations: 0 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1219, allocations: 43.95 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.1222, allocations: 268.8 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1224, allocations: 58.48 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.1224, allocations: 28.89 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1225, allocations: 4 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.1225, allocations: 30.56 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1225, allocations: 0 / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003265/0.1228, allocations: 109.6 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.1228, allocations: 51.41 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.1229, allocations: 105.8 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1229, allocations: 25.7 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.123, allocations: 80.14 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.123, allocations: 7.906 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.123, allocations: 25.77 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.1231, allocations: 310.8 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.1232, allocations: 23.97 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.1233, allocations: 23.98 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1234, allocations: 52.88 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1235, allocations: 3.938 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.1237, allocations: 85.58 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1237, allocations: 6.031 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.1237, allocations: 0 / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.1237, allocations: 0 / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.1238, allocations: 16.02 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1238, allocations: 0 / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.1239, allocations: 16.14 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.1239, allocations: 0 / 0.6834 GB, free: 13.01 MB / 494.1 MB 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 4.958e-05/0.1239, allocations: 110.4 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1239, allocations: 8 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.124, allocations: 11.52 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.124, allocations: 0 / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.124, allocations: 0 / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.124, allocations: 4 kB / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1241, allocations: 173.5 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1241, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.1242, allocations: 11.98 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1242, allocations: 0 / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1242, allocations: 0 / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1242, allocations: 3.938 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1242, allocations: 0 / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1244, allocations: 179.5 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.1245, allocations: 85 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1245, allocations: 4 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.1246, allocations: 4 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.1246, allocations: 3.984 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.1246, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1247, allocations: 91.31 kB / 0.684 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1247, allocations: 0 / 0.684 GB, free: 12.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1248, allocations: 4 kB / 0.684 GB, free: 12.24 MB / 494.1 MB 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.0004125/0.1253, allocations: 0.7162 MB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1255, allocations: 51.94 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1255, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.1256, allocations: 23.98 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1258, allocations: 11.97 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.1261, allocations: 159.3 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.1263, allocations: 0.6807 MB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.471e-05/0.1263, allocations: 0 / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1264, allocations: 11.44 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1264, allocations: 4 kB / 0.6856 GB, free: 10.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/1.696, allocations: 1.31 MB / 0.6869 GB, free: 9.309 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.696, allocations: 212.4 kB / 0.6871 GB, free: 9.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/3.416, allocations: 0 / 0.6871 GB, free: 9.055 MB / 494.1 MB (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)