Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001107/0.001107, allocations: 92.7 kB / 15.7 MB, free: 472 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.001548/0.001548, allocations: 171.9 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 115.5 MB / 407.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 13.66 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1844, allocations: 77.53 MB / 0.5593 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003514/0.1879, allocations: 2.654 MB / 0.5619 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1907, allocations: 1.598 MB / 0.5635 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.191, allocations: 7.938 kB / 0.5635 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1913, allocations: 35.7 kB / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.1919, allocations: 167.3 kB / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1924, allocations: 135.7 kB / 0.5638 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.1929, allocations: 370.9 kB / 0.5642 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.1938, allocations: 0.4906 MB / 0.5646 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.194, allocations: 107.6 kB / 0.5647 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1943, allocations: 143.5 kB / 0.5649 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1944, allocations: 12 kB / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.1947, allocations: 151.7 kB / 0.565 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.1948, allocations: 79.78 kB / 0.5651 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.1949, allocations: 65.64 kB / 0.5652 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1953, allocations: 327.4 kB / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1953, allocations: 0 / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.1953, allocations: 0 / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.1953, allocations: 3.938 kB / 0.5655 GB, free: 3.07 MB / 430.1 MB 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.0008916/0.1962, allocations: 0.495 MB / 0.566 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1963, allocations: 8.031 kB / 0.566 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.197, allocations: 99.61 kB / 0.5661 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1974, allocations: 252.5 kB / 0.5663 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1974, allocations: 16.44 kB / 0.5663 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1975, allocations: 27.89 kB / 0.5664 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.1981, allocations: 365 kB / 0.5667 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1981, allocations: 4 kB / 0.5667 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1981, allocations: 15.92 kB / 0.5667 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.1982, allocations: 32.41 kB / 0.5668 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.1988, allocations: 309.4 kB / 0.5671 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2005, allocations: 1.526 MB / 0.5685 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.201, allocations: 230.4 kB / 0.5688 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2011, allocations: 116.8 kB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.2013, allocations: 93.05 kB / 0.569 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2013, allocations: 34.56 kB / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.234e-06/0.2013, allocations: 0 / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001264/0.2026, allocations: 0.7916 MB / 0.5698 GB, free: 14.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2026, allocations: 55.39 kB / 0.5698 GB, free: 14.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.2028, allocations: 190.6 kB / 0.57 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2029, allocations: 29.7 kB / 0.57 GB, free: 14.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.203, allocations: 159.8 kB / 0.5702 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.203, allocations: 70.91 kB / 0.5703 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.203, allocations: 8 kB / 0.5703 GB, free: 13.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2032, allocations: 330.8 kB / 0.5706 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2033, allocations: 111.9 kB / 0.5707 GB, free: 13.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2036, allocations: 170.9 kB / 0.5708 GB, free: 13.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.2038, allocations: 137.5 kB / 0.571 GB, free: 13.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2038, allocations: 0 / 0.571 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007353/0.2045, allocations: 415 kB / 0.5714 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.2046, allocations: 10.34 kB / 0.5714 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2046, allocations: 192 / 0.5714 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.205, allocations: 104.8 kB / 0.5715 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2052, allocations: 51.91 kB / 0.5715 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.2071, allocations: 1.726 MB / 0.5732 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.2073, allocations: 16.05 kB / 0.5732 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.2073, allocations: 16 kB / 0.5733 GB, free: 10.57 MB / 446.1 MB 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.0001786/0.2075, allocations: 161.7 kB / 0.5734 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.2076, allocations: 15.81 kB / 0.5734 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.2081, allocations: 301.5 kB / 0.5737 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2081, allocations: 12 kB / 0.5737 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2081, allocations: 0 / 0.5737 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2081, allocations: 0 / 0.5737 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.2091, allocations: 0.7067 MB / 0.5744 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2091, allocations: 7.984 kB / 0.5744 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.2094, allocations: 47.97 kB / 0.5745 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.2095, allocations: 7.984 kB / 0.5745 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2095, allocations: 4 kB / 0.5745 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2095, allocations: 8.062 kB / 0.5745 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2095, allocations: 0 / 0.5745 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.2101, allocations: 0.5127 MB / 0.575 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2103, allocations: 116.9 kB / 0.5751 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.2103, allocations: 4 kB / 0.5751 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2105, allocations: 11.98 kB / 0.5751 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2106, allocations: 20.03 kB / 0.5751 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2106, allocations: 8 kB / 0.5751 GB, free: 8.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2107, allocations: 144.1 kB / 0.5753 GB, free: 8.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2107, allocations: 0 / 0.5753 GB, free: 8.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.2111, allocations: 71.98 kB / 0.5753 GB, free: 8.309 MB / 446.1 MB 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.0001688/0.2113, allocations: 107.2 kB / 0.5754 GB, free: 8.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007441/0.2121, allocations: 433.8 kB / 0.5759 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2121, allocations: 0 / 0.5759 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.2123, allocations: 115.9 kB / 0.576 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.2126, allocations: 38.33 kB / 0.576 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2139, allocations: 0.7587 MB / 0.5767 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2142, allocations: 0.7716 MB / 0.5775 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.2145, allocations: 61.91 kB / 0.5776 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.2145, allocations: 19.44 kB / 0.5776 GB, free: 5.949 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2145, allocations: 4 kB / 0.5776 GB, free: 5.945 MB / 446.1 MB Notification: Performance of Templates: time 0.006309/0.2209, allocations: 2.558 MB / 0.5801 GB, free: 3.406 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)