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.001219/0.001219, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001247/0.001246, 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002105, allocations: 297.7 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9504/0.9504, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 100.2 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4295, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004733/0.4342, allocations: 3.079 MB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.4371, allocations: 1.706 MB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.4373, allocations: 7.938 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.4385, allocations: 346.7 kB / 0.7721 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.4391, allocations: 207.1 kB / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.4396, allocations: 175.6 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.4401, allocations: 319 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.4406, allocations: 240.7 kB / 0.773 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.4408, allocations: 127.6 kB / 0.7731 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.4413, allocations: 171.4 kB / 0.7732 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.4413, allocations: 20 kB / 0.7733 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.4418, allocations: 239.6 kB / 0.7735 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.4419, allocations: 103.8 kB / 0.7736 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.4421, allocations: 131.3 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.4427, allocations: 417.4 kB / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4427, allocations: 0 / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4427, allocations: 0 / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4428, allocations: 4 kB / 0.7741 GB, free: 12.64 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.001041/0.4438, allocations: 0.5457 MB / 0.7747 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4439, allocations: 12.03 kB / 0.7747 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/0.4447, allocations: 96.55 kB / 0.7748 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.445, allocations: 252 kB / 0.775 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.445, allocations: 16.81 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4451, allocations: 28.47 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.4457, allocations: 381.1 kB / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4458, allocations: 4 kB / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.4458, allocations: 11.98 kB / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.4459, allocations: 28.42 kB / 0.7754 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.4464, allocations: 305.5 kB / 0.7757 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.4481, allocations: 1.518 MB / 0.7772 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.4486, allocations: 242.4 kB / 0.7775 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.4487, allocations: 112.8 kB / 0.7776 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.4489, allocations: 93.03 kB / 0.7776 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4489, allocations: 34.5 kB / 0.7777 GB, free: 8.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.4489, allocations: 0 / 0.7777 GB, free: 8.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001239/0.4502, allocations: 0.7987 MB / 0.7785 GB, free: 7.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4502, allocations: 51.41 kB / 0.7785 GB, free: 7.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4504, allocations: 195.6 kB / 0.7787 GB, free: 7.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4504, allocations: 29.7 kB / 0.7787 GB, free: 7.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.4505, allocations: 159.9 kB / 0.7789 GB, free: 7.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.4506, allocations: 67 kB / 0.7789 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.4507, allocations: 61.59 kB / 0.779 GB, free: 7.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4508, allocations: 330.8 kB / 0.7793 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.451, allocations: 127.8 kB / 0.7794 GB, free: 6.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.4512, allocations: 167 kB / 0.7796 GB, free: 6.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.4516, allocations: 297.1 kB / 0.7799 GB, free: 6.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4516, allocations: 4 kB / 0.7799 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007324/0.4523, allocations: 413.4 kB / 0.7803 GB, free: 5.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4524, allocations: 11.94 kB / 0.7803 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4524, allocations: 4 kB / 0.7803 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.4528, allocations: 92.77 kB / 0.7804 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.4531, allocations: 51.89 kB / 0.7804 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.455, allocations: 1.883 MB / 0.7823 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4553, allocations: 15.98 kB / 0.7823 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.4553, allocations: 7.938 kB / 0.7823 GB, free: 3.688 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.0001684/0.4555, allocations: 159.1 kB / 0.7824 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.4555, allocations: 15.81 kB / 0.7825 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.456, allocations: 295.4 kB / 0.7827 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4561, allocations: 4 kB / 0.7827 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4561, allocations: 0 / 0.7827 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4562, allocations: 112.9 kB / 0.7829 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.4562, allocations: 15.88 kB / 0.7829 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.4564, allocations: 15.97 kB / 0.7829 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4564, allocations: 11.98 kB / 0.7829 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006983/0.4572, allocations: 394.7 kB / 0.7833 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006137/0.4578, allocations: 0.5881 MB / 0.7838 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001584/0.4579, allocations: 122.5 kB / 0.784 GB, free: 1.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001517/0.4581, allocations: 148.1 kB / 0.7841 GB, free: 1.777 MB / 0.545 GB Notification: Performance of Backend: time 1.893e-06/0.4581, allocations: 3.938 kB / 0.7841 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.4593, allocations: 0.5123 MB / 0.7846 GB, free: 1.238 MB / 0.545 GB Notification: Performance of SimCode: time 0.00111/0.4604, allocations: 0.9937 MB / 0.7856 GB, free: 208 kB / 0.545 GB Notification: Performance of Templates: time 0.008897/0.4693, allocations: 4.524 MB / 0.79 GB, free: 11.7 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)