Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001915/0.001914, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001845/0.001845, allocations: 193.7 kB / 16.14 MB, free: 6.652 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.871/1.871, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 251.7 MB / 0.5088 GB, free: 3.301 MB / 414.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.001538/0.001538, allocations: 67.91 kB / 0.6216 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6928, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.007191/0.7001, allocations: 3.135 MB / 0.7269 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.7036, allocations: 1.734 MB / 0.7286 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.7038, allocations: 7.938 kB / 0.7286 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.7049, allocations: 321.8 kB / 0.7289 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005952/0.7055, allocations: 187.3 kB / 0.7291 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.7061, allocations: 171.7 kB / 0.7292 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.7067, allocations: 466.8 kB / 0.7297 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.7072, allocations: 242.6 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.7074, allocations: 119.5 kB / 0.73 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.7078, allocations: 163.5 kB / 0.7302 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.7078, allocations: 23.88 kB / 0.7302 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.7086, allocations: 283.5 kB / 0.7305 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.7087, allocations: 99.75 kB / 0.7306 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.7089, allocations: 111.4 kB / 0.7307 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.7094, allocations: 434.7 kB / 0.7311 GB, free: 5.691 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7094, allocations: 0 / 0.7311 GB, free: 5.691 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7094, allocations: 0 / 0.7311 GB, free: 5.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.7094, allocations: 4 kB / 0.7311 GB, free: 5.688 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.001138/0.7106, allocations: 0.5459 MB / 0.7316 GB, free: 5.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7106, allocations: 12.03 kB / 0.7316 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007491/0.7114, allocations: 92.55 kB / 0.7317 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.7118, allocations: 255.8 kB / 0.732 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7118, allocations: 20.8 kB / 0.732 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.754e-05/0.7119, allocations: 24.55 kB / 0.732 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.7126, allocations: 373.2 kB / 0.7324 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.7126, allocations: 7.938 kB / 0.7324 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.7127, allocations: 8 kB / 0.7324 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.322e-05/0.7128, allocations: 24.42 kB / 0.7324 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.7133, allocations: 309.5 kB / 0.7327 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.7151, allocations: 1.533 MB / 0.7342 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.7156, allocations: 234.4 kB / 0.7344 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.7158, allocations: 116.8 kB / 0.7345 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.716, allocations: 81.11 kB / 0.7346 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.716, allocations: 42.56 kB / 0.7346 GB, free: 1.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.716, allocations: 0 / 0.7346 GB, free: 1.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001446/0.7175, allocations: 0.7905 MB / 0.7354 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.7175, allocations: 55.41 kB / 0.7355 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.7177, allocations: 187.2 kB / 0.7356 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.7178, allocations: 33.7 kB / 0.7357 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.7179, allocations: 163.8 kB / 0.7358 GB, free: 448 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.718, allocations: 71 kB / 0.7359 GB, free: 376 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.7181, allocations: 53.7 kB / 0.7359 GB, free: 316 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7183, allocations: 330.8 kB / 0.7363 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.7185, allocations: 119.9 kB / 0.7364 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.7187, allocations: 167 kB / 0.7365 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.7191, allocations: 291 kB / 0.7368 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.7191, allocations: 0 / 0.7368 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007331/0.7198, allocations: 421.1 kB / 0.7372 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.7198, allocations: 4 kB / 0.7372 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7199, allocations: 4 kB / 0.7372 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/0.7203, allocations: 104.9 kB / 0.7373 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.7206, allocations: 51.97 kB / 0.7374 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.7224, allocations: 1.738 MB / 0.7391 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.7227, allocations: 15.98 kB / 0.7391 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.7227, allocations: 12 kB / 0.7391 GB, free: 12.89 MB / 0.5606 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.0001717/0.7229, allocations: 161.8 kB / 0.7393 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.7229, allocations: 15.81 kB / 0.7393 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.7234, allocations: 299.3 kB / 0.7396 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7234, allocations: 3.984 kB / 0.7396 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.7234, allocations: 0 / 0.7396 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7234, allocations: 7.922 kB / 0.7396 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/0.7244, allocations: 0.709 MB / 0.7403 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7244, allocations: 0 / 0.7403 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.7247, allocations: 59.89 kB / 0.7403 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7247, allocations: 0 / 0.7403 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.7247, allocations: 8 kB / 0.7403 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7247, allocations: 0 / 0.7403 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7247, allocations: 3.938 kB / 0.7403 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.7254, allocations: 0.5125 MB / 0.7408 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.7255, allocations: 116.9 kB / 0.7409 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.7256, allocations: 7.938 kB / 0.7409 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7258, allocations: 19.98 kB / 0.741 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.7258, allocations: 15.97 kB / 0.741 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.7258, allocations: 8 kB / 0.741 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001354/0.726, allocations: 148.1 kB / 0.7411 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.726, allocations: 4 kB / 0.7411 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003579/0.7263, allocations: 64 kB / 0.7412 GB, free: 10.62 MB / 0.5606 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 (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.0002523/0.7266, allocations: 107.1 kB / 0.7413 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.7273, allocations: 432.8 kB / 0.7417 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7273, allocations: 0 / 0.7417 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.7275, allocations: 123.8 kB / 0.7418 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.7279, allocations: 34.41 kB / 0.7419 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.7294, allocations: 0.7275 MB / 0.7426 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.7299, allocations: 0.7752 MB / 0.7433 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.7301, allocations: 57.91 kB / 0.7434 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.7302, allocations: 23.38 kB / 0.7434 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.7302, allocations: 0 / 0.7434 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of Templates: time 0.006368/0.7365, allocations: 2.671 MB / 0.746 GB, free: 5.633 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)