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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 98.73 kB / 16.29 MB, free: 6.012 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.001346/0.001346, allocations: 177.6 kB / 17.22 MB, free: 5.621 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.685/1.685, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.935/1.935, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001511/0.001511, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002318/0.3226, allocations: 0.6067 MB / 0.7847 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.3236, allocations: 0.801 MB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3237, allocations: 4 kB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3237, allocations: 7.938 kB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.3238, allocations: 7.969 kB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3239, allocations: 3.938 kB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.324, allocations: 31.86 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.3241, allocations: 4 kB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.3242, allocations: 4 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.3243, allocations: 15.92 kB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3243, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.3243, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.3243, allocations: 7.984 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3244, allocations: 7.938 kB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.44e-05/0.3244, allocations: 15.97 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3245, allocations: 0 / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3245, allocations: 0 / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3245, allocations: 0 / 0.7856 GB, free: 2.328 MB / 0.6544 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.000462/0.3249, allocations: 327.7 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.325, allocations: 15.97 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.325, allocations: 0.9375 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3252, allocations: 172.3 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3252, allocations: 384 / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3252, allocations: 4.375 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3254, allocations: 34.25 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3254, allocations: 192 / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3254, allocations: 3.938 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3254, allocations: 0 / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.3255, allocations: 15.98 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3256, allocations: 157.7 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.3257, allocations: 30.47 kB / 0.7863 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.3258, allocations: 12.92 kB / 0.7863 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3258, allocations: 4 kB / 0.7863 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3258, allocations: 30.56 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3258, allocations: 0 / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002111/0.326, allocations: 65.52 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3261, allocations: 51.41 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.3262, allocations: 101.8 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3262, allocations: 33.64 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.3263, allocations: 80.14 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3263, allocations: 0 / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.3263, allocations: 9.719 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3265, allocations: 323 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.3265, allocations: 7.984 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.3265, allocations: 4 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.3266, allocations: 20.84 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3266, allocations: 0 / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.761e-05/0.3267, allocations: 45.69 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3267, allocations: 12.08 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3267, allocations: 7.938 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3268, allocations: 0 / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.3269, allocations: 7.938 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3269, allocations: 0 / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.3269, allocations: 0 / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3269, allocations: 0 / 0.7871 GB, free: 0.5547 MB / 0.6544 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 7.345e-05/0.327, allocations: 113.8 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.327, allocations: 3.906 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.327, allocations: 11.06 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.327, allocations: 0 / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.327, allocations: 0 / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3271, allocations: 4 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3272, allocations: 153.6 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3272, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.3272, allocations: 4 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3272, allocations: 4.234 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3272, allocations: 7.875 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3273, allocations: 8 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3273, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.3274, allocations: 73.06 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3274, allocations: 77.11 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3275, allocations: 3.938 kB / 0.7875 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5187/0.8462, allocations: 4.766 kB / 0.7875 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.8463, allocations: 4.688 kB / 0.7875 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8463, allocations: 0 / 0.7875 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.8463, allocations: 86.42 kB / 0.7876 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8463, allocations: 0 / 0.7876 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002196/0.8466, allocations: 2.281 kB / 0.7876 GB, free: 48.76 MB / 0.6544 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.0001533/0.8467, allocations: 102 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.8469, allocations: 17.31 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8469, allocations: 2.625 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.847, allocations: 4.828 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.8471, allocations: 2.031 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.8474, allocations: 110.5 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.8476, allocations: 0.6748 MB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.8476, allocations: 4.25 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.8476, allocations: 10.19 kB / 0.7885 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.8476, allocations: 0 / 0.7885 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.002276/0.8499, allocations: 283.8 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)