Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001096/0.001096, allocations: 112.4 kB / 16.42 MB, free: 6.465 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.001138/0.001138, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 299.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4949, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004378/0.4993, allocations: 3.078 MB / 0.7701 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.5019, allocations: 1.714 MB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.502, allocations: 11.94 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.503, allocations: 326.8 kB / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.5034, allocations: 219 kB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.5039, allocations: 179.5 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.5043, allocations: 315 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.5047, allocations: 240.7 kB / 0.773 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.5049, allocations: 135.6 kB / 0.7731 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.5053, allocations: 155.5 kB / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.5054, allocations: 24 kB / 0.7733 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.5058, allocations: 247.5 kB / 0.7735 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5059, allocations: 103.8 kB / 0.7736 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.5061, allocations: 127.4 kB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.5067, allocations: 429.2 kB / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5067, allocations: 0 / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5067, allocations: 0 / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.5067, allocations: 0 / 0.7741 GB, free: 12.62 MB / 0.545 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.001023/0.5078, allocations: 0.5458 MB / 0.7747 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5078, allocations: 8.031 kB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.5086, allocations: 96.55 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.509, allocations: 255.9 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.509, allocations: 16.81 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.5091, allocations: 28.45 kB / 0.7751 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.5097, allocations: 377.1 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5097, allocations: 4 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.5098, allocations: 12 kB / 0.7754 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.69e-05/0.5099, allocations: 24.42 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.5103, allocations: 309.5 kB / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.5121, allocations: 1.522 MB / 0.7772 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.5126, allocations: 234.4 kB / 0.7775 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5127, allocations: 120.7 kB / 0.7776 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.5129, allocations: 93.08 kB / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.513, allocations: 38.56 kB / 0.7777 GB, free: 8.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.513, allocations: 0 / 0.7777 GB, free: 8.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.5143, allocations: 0.7911 MB / 0.7785 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5144, allocations: 55.41 kB / 0.7785 GB, free: 7.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.5146, allocations: 191.6 kB / 0.7787 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5146, allocations: 33.7 kB / 0.7787 GB, free: 7.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.5147, allocations: 163.9 kB / 0.7789 GB, free: 7.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.5148, allocations: 63.02 kB / 0.779 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.5149, allocations: 61.59 kB / 0.779 GB, free: 7.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.515, allocations: 326.8 kB / 0.7793 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.5152, allocations: 119.9 kB / 0.7794 GB, free: 6.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.5154, allocations: 175 kB / 0.7796 GB, free: 6.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.5158, allocations: 292.2 kB / 0.7799 GB, free: 6.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5158, allocations: 4 kB / 0.7799 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008078/0.5166, allocations: 413.2 kB / 0.7803 GB, free: 5.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5167, allocations: 7.938 kB / 0.7803 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5167, allocations: 4 kB / 0.7803 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.5171, allocations: 96.95 kB / 0.7804 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.5174, allocations: 59.89 kB / 0.7804 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5196, allocations: 1.879 MB / 0.7823 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.5198, allocations: 20.08 kB / 0.7823 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.5199, allocations: 11.94 kB / 0.7823 GB, free: 3.66 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.52, allocations: 157.8 kB / 0.7825 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.5201, allocations: 19.75 kB / 0.7825 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.5206, allocations: 295.4 kB / 0.7828 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5206, allocations: 4 kB / 0.7828 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5206, allocations: 0 / 0.7828 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5207, allocations: 116.9 kB / 0.7829 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.5208, allocations: 7.875 kB / 0.7829 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.521, allocations: 11.98 kB / 0.7829 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.521, allocations: 11.98 kB / 0.7829 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007087/0.5217, allocations: 394.6 kB / 0.7833 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006442/0.5224, allocations: 0.5888 MB / 0.7839 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001603/0.5225, allocations: 118.4 kB / 0.784 GB, free: 1.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5227, allocations: 148 kB / 0.7841 GB, free: 1.758 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/0.5227, allocations: 0 / 0.7841 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.5239, allocations: 0.5205 MB / 0.7846 GB, free: 1.215 MB / 0.545 GB Notification: Performance of SimCode: time 0.001183/0.5251, allocations: 0.9789 MB / 0.7856 GB, free: 196 kB / 0.545 GB Notification: Performance of Templates: time 0.008785/0.5339, allocations: 4.526 MB / 0.79 GB, free: 11.68 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)