Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00133/0.00133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.646/1.646, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0006248/0.000625, allocations: 13.47 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3012, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003613/0.3049, allocations: 2.614 MB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.3074, allocations: 1.576 MB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3076, allocations: 4 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3078, allocations: 39.75 kB / 0.7913 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.3082, allocations: 139.5 kB / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.3086, allocations: 138.3 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3089, allocations: 179.6 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.3097, allocations: 0.4992 MB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3099, allocations: 87.75 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3101, allocations: 103.6 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.3102, allocations: 12 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.3105, allocations: 135.8 kB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.3106, allocations: 75.8 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3106, allocations: 65.58 kB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.311, allocations: 323.4 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.311, allocations: 4 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.311, allocations: 0 / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.311, allocations: 4 kB / 0.793 GB, free: 5.965 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009163/0.3119, allocations: 0.5028 MB / 0.7934 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.312, allocations: 8.031 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.3127, allocations: 107.5 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3131, allocations: 254.6 kB / 0.7938 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.3131, allocations: 16.44 kB / 0.7938 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3133, allocations: 24 kB / 0.7938 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.3138, allocations: 373 kB / 0.7942 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3138, allocations: 0 / 0.7942 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.3139, allocations: 15.98 kB / 0.7942 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/0.314, allocations: 32.38 kB / 0.7942 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.3144, allocations: 305.5 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.3164, allocations: 1.537 MB / 0.796 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.3168, allocations: 222.5 kB / 0.7962 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.317, allocations: 89.09 kB / 0.7963 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3171, allocations: 38.81 kB / 0.7964 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.3171, allocations: 0 / 0.7964 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001488/0.3186, allocations: 0.7913 MB / 0.7971 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.3186, allocations: 59.41 kB / 0.7972 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3189, allocations: 191.2 kB / 0.7974 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3189, allocations: 25.7 kB / 0.7974 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3191, allocations: 163.8 kB / 0.7976 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.3192, allocations: 67 kB / 0.7976 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.3192, allocations: 8 kB / 0.7976 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3194, allocations: 334.8 kB / 0.7979 GB, free: 468 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3196, allocations: 111.9 kB / 0.7981 GB, free: 356 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3199, allocations: 163.8 kB / 0.7982 GB, free: 172 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3201, allocations: 139.8 kB / 0.7983 GB, free: 36 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3201, allocations: 4 kB / 0.7983 GB, free: 32 kB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007948/0.3209, allocations: 405.9 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.321, allocations: 11.95 kB / 0.7987 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.321, allocations: 3.938 kB / 0.7987 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.3214, allocations: 104.9 kB / 0.7988 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.3217, allocations: 51.91 kB / 0.7989 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.3237, allocations: 1.758 MB / 0.8006 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.3239, allocations: 19.97 kB / 0.8006 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.324, allocations: 8 kB / 0.8006 GB, free: 13.53 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.3242, allocations: 162.3 kB / 0.8008 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.3242, allocations: 19.77 kB / 0.8008 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.3247, allocations: 295.3 kB / 0.8011 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3247, allocations: 7.953 kB / 0.8011 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3247, allocations: 0 / 0.8011 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3247, allocations: 0 / 0.8011 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.3257, allocations: 0.7019 MB / 0.8018 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3257, allocations: 0 / 0.8018 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.326, allocations: 71.83 kB / 0.8019 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.326, allocations: 3.938 kB / 0.8019 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.3261, allocations: 8 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3261, allocations: 0 / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3261, allocations: 4 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.3268, allocations: 0.5376 MB / 0.8024 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3269, allocations: 116.9 kB / 0.8025 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3269, allocations: 4 kB / 0.8025 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3271, allocations: 11.98 kB / 0.8025 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3272, allocations: 20.05 kB / 0.8025 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3272, allocations: 4 kB / 0.8025 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001292/0.3273, allocations: 140.1 kB / 0.8027 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3273, allocations: 0 / 0.8027 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003686/0.3277, allocations: 68 kB / 0.8027 GB, free: 11.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.3279, allocations: 111.2 kB / 0.8029 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.3286, allocations: 426.5 kB / 0.8033 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3286, allocations: 0 / 0.8033 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3288, allocations: 123.8 kB / 0.8034 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3291, allocations: 32.16 kB / 0.8034 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3303, allocations: 0.7605 MB / 0.8042 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3308, allocations: 0.7791 MB / 0.8049 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.331, allocations: 61.89 kB / 0.805 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.3311, allocations: 19.44 kB / 0.805 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3311, allocations: 0 / 0.805 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of Templates: time 0.006035/0.3371, allocations: 2.564 MB / 0.8075 GB, free: 6.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: