Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 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.001288/0.001288, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.616/1.616, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001669/0.001669, allocations: 66.42 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3136, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004619/0.3183, allocations: 2.498 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3198, allocations: 0.7634 MB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.32, allocations: 4 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3213, allocations: 0.5851 MB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.3216, allocations: 107.5 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.322, allocations: 111.7 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3223, allocations: 195.4 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.3228, allocations: 161 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.3229, allocations: 75.77 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3231, allocations: 99.66 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3232, allocations: 12 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3234, allocations: 111.8 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.536e-05/0.3235, allocations: 59.81 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.3236, allocations: 71.66 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3239, allocations: 215.6 kB / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3239, allocations: 0 / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.008e-06/0.3239, allocations: 0 / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3239, allocations: 3.938 kB / 0.7883 GB, free: 8.395 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006951/0.3246, allocations: 455.3 kB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3247, allocations: 8.031 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/0.3251, allocations: 44.7 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3254, allocations: 212.1 kB / 0.789 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3254, allocations: 8.656 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3254, allocations: 12.38 kB / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3258, allocations: 242.9 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3258, allocations: 0 / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3258, allocations: 0 / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.3259, allocations: 20.27 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.3261, allocations: 144.7 kB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3273, allocations: 1.134 MB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.3274, allocations: 46.55 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.3274, allocations: 24.94 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3274, allocations: 0 / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3275, allocations: 34.56 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3275, allocations: 3.938 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.3277, allocations: 73.53 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3277, allocations: 51.41 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3279, allocations: 172.1 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3279, allocations: 33.7 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.328, allocations: 139.4 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.3281, allocations: 15.75 kB / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.3281, allocations: 37.64 kB / 0.7911 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3283, allocations: 322.8 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.3283, allocations: 20.86 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.3284, allocations: 97.36 kB / 0.7915 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3286, allocations: 121.3 kB / 0.7916 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3286, allocations: 4 kB / 0.7916 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000205/0.3288, allocations: 137.3 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3288, allocations: 4 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3288, allocations: 4 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3288, allocations: 7.938 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.329, allocations: 23.98 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.329, allocations: 3.938 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.3291, allocations: 19.75 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3291, allocations: 8.312 kB / 0.7918 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001039/0.3292, allocations: 124.1 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.39e-05/0.3293, allocations: 92.75 kB / 0.792 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00013/0.3294, allocations: 129.2 kB / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.3294, allocations: 0 / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001755/0.3296, allocations: 129.4 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.3296, allocations: 8 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.3296, allocations: 0 / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3296, allocations: 4.312 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.3297, allocations: 31.92 kB / 0.7923 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3297, allocations: 7.938 kB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.3298, allocations: 8 kB / 0.7924 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3298, allocations: 8 kB / 0.7924 GB, free: 3.766 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001137/0.3299, allocations: 188.8 kB / 0.7925 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.33, allocations: 15.81 kB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.33, allocations: 8.938 kB / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.33, allocations: 7.938 kB / 0.7926 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.33, allocations: 3.984 kB / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.33, allocations: 4 kB / 0.7926 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.3304, allocations: 465.1 kB / 0.793 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3305, allocations: 288 / 0.793 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.3305, allocations: 12 kB / 0.793 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3305, allocations: 0 / 0.793 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3305, allocations: 4.125 kB / 0.793 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3305, allocations: 4 kB / 0.793 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3305, allocations: 0 / 0.793 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.3307, allocations: 119.5 kB / 0.7932 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.3308, allocations: 88.92 kB / 0.7932 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3308, allocations: 8 kB / 0.7932 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.3308, allocations: 11.94 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.3309, allocations: 7.984 kB / 0.7933 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.3309, allocations: 0 / 0.7933 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001122/0.331, allocations: 122.1 kB / 0.7934 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.331, allocations: 4 kB / 0.7934 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003395/0.3313, allocations: 51.84 kB / 0.7934 GB, free: 2.539 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.00014/0.3315, allocations: 103.2 kB / 0.7935 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.3317, allocations: 111.6 kB / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3317, allocations: 0 / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.3318, allocations: 25.17 kB / 0.7937 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3321, allocations: 24.77 kB / 0.7937 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.3326, allocations: 291.2 kB / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.333, allocations: 0.7163 MB / 0.7947 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.3331, allocations: 36.39 kB / 0.7947 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.3331, allocations: 11.44 kB / 0.7947 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3331, allocations: 0 / 0.7947 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.003561/0.3367, allocations: 0.8412 MB / 0.7955 GB, free: 340 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)