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.00172/0.00172, allocations: 109.4 kB / 15.69 MB, free: 128 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.002085/0.002085, allocations: 188.3 kB / 16.62 MB, free: 6.582 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.721/1.721, 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.001434/0.001434, allocations: 73.72 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2091, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001723/0.2109, allocations: 0.6075 MB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.2117, allocations: 0.8088 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.2117, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.2117, allocations: 3.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.2118, allocations: 11.92 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2119, allocations: 3.984 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.212, allocations: 15.94 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.212, allocations: 3.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.2121, allocations: 11.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.2122, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2122, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.2122, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2122, allocations: 15.91 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.2123, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.291e-05/0.2123, allocations: 15.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2123, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2123, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2123, allocations: 0 / 0.7851 GB, free: 11.7 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.0003317/0.2127, allocations: 331.7 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2127, allocations: 16.02 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.2128, allocations: 34.69 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.2128, allocations: 4.938 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.2129, allocations: 164.3 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.2129, allocations: 384 / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.2129, allocations: 384 / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.213, allocations: 42.23 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.213, allocations: 7.875 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.2131, allocations: 0 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2131, allocations: 0 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.2131, allocations: 19.98 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.2133, allocations: 153.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.2133, allocations: 22.52 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.2134, allocations: 12.91 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2134, allocations: 0 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2134, allocations: 42.56 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.345e-06/0.2134, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.2136, allocations: 65.48 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2137, allocations: 51.41 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.2137, allocations: 93.86 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2138, allocations: 29.7 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.2138, allocations: 88.12 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2138, allocations: 128 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.2138, allocations: 13.72 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.2139, allocations: 314.8 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.214, allocations: 11.98 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.214, allocations: 4 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.2141, allocations: 20.84 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2141, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.2142, allocations: 53.59 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2142, allocations: 7.938 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.2142, allocations: 4 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.2142, allocations: 0 / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.2143, allocations: 4.234 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2143, allocations: 4 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.2144, allocations: 4 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2144, allocations: 0 / 0.7867 GB, free: 9.879 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 6.125e-05/0.2144, allocations: 117.9 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.2144, allocations: 3.938 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.2145, allocations: 3.125 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2145, allocations: 0 / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2145, allocations: 3.984 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2145, allocations: 0 / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.2146, allocations: 153.7 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2146, allocations: 0 / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.2146, allocations: 4 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2146, allocations: 3.938 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.2146, allocations: 4 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2146, allocations: 0 / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2146, allocations: 3.938 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.2148, allocations: 77.05 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2148, allocations: 77.11 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2148, allocations: 7.875 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.2149, allocations: 4 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2149, allocations: 4.031 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2149, allocations: 3.984 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.2149, allocations: 83.28 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2149, allocations: 0 / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001761/0.2151, allocations: 4 kB / 0.7872 GB, free: 9.23 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.0003453/0.2155, allocations: 0.6133 MB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.2156, allocations: 19.92 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2156, allocations: 0 / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.2156, allocations: 8 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.2158, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.2161, allocations: 148.3 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.2163, allocations: 0.6768 MB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.2163, allocations: 0 / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.2163, allocations: 15.38 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2163, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.232, allocations: 1.118 MB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.7, allocations: 7.062 kB / 0.7898 GB, free: 6.641 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)