Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.157/1.157, allocations: 205.1 MB / 222 MB, free: 4.762 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.496/1.496, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.00137/0.00137, allocations: 74.83 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 114.5 MB / 0.7828 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001579/0.167, allocations: 0.692 MB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.1676, allocations: 0.8009 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1677, allocations: 3.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.1677, allocations: 0 / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.1678, allocations: 3.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.1679, allocations: 12 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.1679, allocations: 19.91 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.168, allocations: 8 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.168, allocations: 4 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1681, allocations: 15.92 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1681, allocations: 0 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.1681, allocations: 0 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1681, allocations: 0 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.1682, allocations: 7.938 kB / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.494e-05/0.1682, allocations: 19.95 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1682, allocations: 4 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1682, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.1682, allocations: 0 / 0.7844 GB, free: 12.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003048/0.1685, allocations: 331.7 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1686, allocations: 12.03 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1686, allocations: 34.69 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.727e-05/0.1686, allocations: 0.9375 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.1687, allocations: 168.3 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1687, allocations: 4.375 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.1687, allocations: 4.375 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.928e-05/0.1688, allocations: 34.25 kB / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1689, allocations: 7.875 kB / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1689, allocations: 0 / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1689, allocations: 0 / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.1689, allocations: 12 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.1691, allocations: 161.6 kB / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.1691, allocations: 26.55 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.1692, allocations: 16.92 kB / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1692, allocations: 3.984 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.1692, allocations: 30.56 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1692, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.1694, allocations: 53.62 kB / 0.7852 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1694, allocations: 59.47 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.1695, allocations: 105.8 kB / 0.7854 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.1695, allocations: 25.7 kB / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.1695, allocations: 80.14 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1696, allocations: 0 / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.1696, allocations: 13.72 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.1697, allocations: 318.8 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.1697, allocations: 8 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.1697, allocations: 7.984 kB / 0.7858 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.1698, allocations: 16.86 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1698, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.789e-05/0.1699, allocations: 49.58 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1699, allocations: 15.88 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1699, allocations: 0 / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.17, allocations: 4.094 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.17, allocations: 4 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.17, allocations: 0 / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.1701, allocations: 8.234 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1701, allocations: 0 / 0.7859 GB, free: 10.41 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 (1): * Single equations (assignments): 1 * 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 5.146e-05/0.1701, allocations: 109.8 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.1701, allocations: 3.938 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.1702, allocations: 7.125 kB / 0.786 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1702, allocations: 0 / 0.786 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1702, allocations: 8 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1702, allocations: 3.938 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.1703, allocations: 149.7 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1703, allocations: 4 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1703, allocations: 3.984 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1703, allocations: 3.938 kB / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1703, allocations: 4 kB / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1703, allocations: 0 / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1703, allocations: 0 / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1705, allocations: 73.06 kB / 0.7863 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.1705, allocations: 77.11 kB / 0.7863 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1705, allocations: 7.922 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.628e-05/0.1705, allocations: 7.938 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1706, allocations: 0 / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1706, allocations: 0 / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.1706, allocations: 87.27 kB / 0.7864 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 0.7864 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001683/0.1708, allocations: 8.031 kB / 0.7865 GB, free: 9.766 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 (1): * Single equations (assignments): 1 * 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.0003185/0.1711, allocations: 0.6045 MB / 0.787 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.1712, allocations: 27.95 kB / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1712, allocations: 0 / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.1713, allocations: 7.984 kB / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1714, allocations: 7.609 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.1717, allocations: 134 kB / 0.7872 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.1719, allocations: 0.6809 MB / 0.7879 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.1719, allocations: 4.125 kB / 0.7879 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1719, allocations: 15.38 kB / 0.7879 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1719, allocations: 4 kB / 0.7879 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.4533, allocations: 0.9596 MB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.4536, allocations: 207.2 kB / 0.789 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.181, allocations: 4 kB / 0.789 GB, free: 7.094 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)