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.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 152 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.001173/0.001173, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.167/1.167, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.522/1.522, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001299/0.001299, allocations: 69.72 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001657/0.1629, allocations: 0.6156 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.1636, allocations: 0.8049 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.1636, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1636, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.1637, allocations: 7.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.1638, allocations: 3.984 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.1639, allocations: 23.88 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1639, allocations: 7.984 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.164, allocations: 11.98 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.164, allocations: 15.86 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.164, allocations: 4 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.1641, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.1641, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1641, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.267e-05/0.1641, allocations: 15.92 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1642, allocations: 3.984 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1642, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1642, allocations: 0 / 0.785 GB, free: 11.8 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.0003112/0.1645, allocations: 335.7 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.1645, allocations: 8.031 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.1646, allocations: 38.75 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.782e-05/0.1646, allocations: 0.9375 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.1647, allocations: 168.3 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1647, allocations: 4.312 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.1647, allocations: 4.375 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/0.1648, allocations: 34.25 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1648, allocations: 7.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1648, allocations: 0 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1648, allocations: 0 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.1649, allocations: 19.92 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.165, allocations: 153.7 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.1651, allocations: 22.59 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.1651, allocations: 16.91 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1652, allocations: 11.94 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1652, allocations: 30.56 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1652, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.1654, allocations: 61.55 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1654, allocations: 51.41 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.1655, allocations: 101.8 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1655, allocations: 25.83 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.1655, allocations: 88.14 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1655, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.1656, allocations: 9.719 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.1657, allocations: 318.8 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.1657, allocations: 7.984 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.1657, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/0.1658, allocations: 24.91 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1658, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.549e-05/0.1659, allocations: 53.53 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1659, allocations: 14.59 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1659, allocations: 0 / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.1659, allocations: 0 / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.166, allocations: 7.984 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.166, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.166, allocations: 32 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1661, allocations: 4 kB / 0.7865 GB, free: 9.977 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.038e-05/0.1661, allocations: 109.8 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.1661, allocations: 3.938 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.1662, allocations: 7.109 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1662, allocations: 0 / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1662, allocations: 0 / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.1662, allocations: 4 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.31e-05/0.1662, allocations: 149.9 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1663, allocations: 4 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1663, allocations: 8 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1663, allocations: 7.875 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1663, allocations: 0 / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1663, allocations: 7.984 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1663, allocations: 7.875 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1664, allocations: 65.12 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.1665, allocations: 77.14 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1665, allocations: 7.938 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.1665, allocations: 4 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1666, allocations: 3.984 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1666, allocations: 4 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.1666, allocations: 79.28 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1666, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001715/0.1668, allocations: 4 kB / 0.7871 GB, free: 9.332 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.0003277/0.1671, allocations: 0.6201 MB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.1672, allocations: 11.98 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1672, allocations: 4 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.1673, allocations: 4 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1674, allocations: 12.14 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1677, allocations: 140.1 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.1679, allocations: 0.6729 MB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.1679, allocations: 4 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.1679, allocations: 11.42 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1679, allocations: 0 / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2654/0.4333, allocations: 1.102 MB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.553, allocations: 7.688 kB / 0.7896 GB, free: 6.742 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)