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.001254/0.001253, allocations: 104.3 kB / 16.4 MB, free: 6.457 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.001147/0.001147, allocations: 196 kB / 17.34 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8774/0.8774, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 67.89 kB / 0.5731 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1924, allocations: 78.7 MB / 0.6499 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00539/0.1978, allocations: 3.073 MB / 0.6529 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.2009, allocations: 1.714 MB / 0.6546 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.2012, allocations: 11.94 kB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.2026, allocations: 342.6 kB / 0.6549 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.2033, allocations: 207.1 kB / 0.6551 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.2039, allocations: 186.7 kB / 0.6553 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.2045, allocations: 315 kB / 0.6556 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.205, allocations: 244.7 kB / 0.6558 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.2053, allocations: 139.5 kB / 0.656 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.2059, allocations: 155.5 kB / 0.6561 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.2059, allocations: 20 kB / 0.6561 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.2064, allocations: 247.5 kB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2066, allocations: 103.7 kB / 0.6565 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2067, allocations: 119.5 kB / 0.6566 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.2073, allocations: 426.5 kB / 0.657 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2073, allocations: 0 / 0.657 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2074, allocations: 0 / 0.657 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.2074, allocations: 4 kB / 0.657 GB, free: 12.81 MB / 0.4981 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.001071/0.2084, allocations: 0.5531 MB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2085, allocations: 8.031 kB / 0.6576 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/0.2093, allocations: 96.69 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.2097, allocations: 259.9 kB / 0.6579 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2097, allocations: 24.8 kB / 0.6579 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.2098, allocations: 20.56 kB / 0.6579 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2104, allocations: 377.1 kB / 0.6583 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2104, allocations: 4 kB / 0.6583 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.2105, allocations: 7.984 kB / 0.6583 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.599e-05/0.2106, allocations: 28.42 kB / 0.6583 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.211, allocations: 309.5 kB / 0.6586 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.2129, allocations: 1.522 MB / 0.6601 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2133, allocations: 234.4 kB / 0.6603 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2135, allocations: 116.8 kB / 0.6605 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.2137, allocations: 85.09 kB / 0.6605 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.2137, allocations: 38.5 kB / 0.6606 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.2137, allocations: 4 kB / 0.6606 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001303/0.215, allocations: 0.7941 MB / 0.6614 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2151, allocations: 55.41 kB / 0.6614 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2153, allocations: 186.6 kB / 0.6616 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2153, allocations: 33.7 kB / 0.6616 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2154, allocations: 168.1 kB / 0.6618 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.2155, allocations: 71.33 kB / 0.6618 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.2156, allocations: 57.69 kB / 0.6619 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2157, allocations: 330.8 kB / 0.6622 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2159, allocations: 119.9 kB / 0.6623 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2161, allocations: 163 kB / 0.6625 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2165, allocations: 301.1 kB / 0.6628 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2165, allocations: 0 / 0.6628 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007329/0.2172, allocations: 418 kB / 0.6632 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2172, allocations: 5.406 kB / 0.6632 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2173, allocations: 4 kB / 0.6632 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.2177, allocations: 96.89 kB / 0.6633 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.218, allocations: 59.89 kB / 0.6633 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.22, allocations: 1.883 MB / 0.6652 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2202, allocations: 19.95 kB / 0.6652 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2202, allocations: 8 kB / 0.6652 GB, free: 3.848 MB / 0.4981 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.0001741/0.2204, allocations: 164.4 kB / 0.6653 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.2205, allocations: 19.86 kB / 0.6654 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.221, allocations: 297.6 kB / 0.6657 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.221, allocations: 3.938 kB / 0.6657 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.221, allocations: 4 kB / 0.6657 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.221, allocations: 3.938 kB / 0.6657 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.222, allocations: 0.7031 MB / 0.6663 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.222, allocations: 7.984 kB / 0.6664 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.2223, allocations: 59.95 kB / 0.6664 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2223, allocations: 0 / 0.6664 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2223, allocations: 7.938 kB / 0.6664 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2223, allocations: 0 / 0.6664 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2224, allocations: 4 kB / 0.6664 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.223, allocations: 0.5185 MB / 0.6669 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2231, allocations: 116.9 kB / 0.667 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.2232, allocations: 8 kB / 0.6671 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2233, allocations: 7.984 kB / 0.6671 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2234, allocations: 15.98 kB / 0.6671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2234, allocations: 4 kB / 0.6671 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001449/0.2235, allocations: 152.1 kB / 0.6672 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2235, allocations: 0 / 0.6672 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003713/0.2239, allocations: 64 kB / 0.6673 GB, free: 1.594 MB / 0.4981 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.0001855/0.2241, allocations: 115.1 kB / 0.6674 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007696/0.2249, allocations: 434.6 kB / 0.6678 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2249, allocations: 0 / 0.6678 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2251, allocations: 115.9 kB / 0.6679 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.2255, allocations: 41.75 kB / 0.668 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2268, allocations: 0.6198 MB / 0.6686 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2272, allocations: 0.7868 MB / 0.6693 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.2274, allocations: 57.91 kB / 0.6694 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.2275, allocations: 19.44 kB / 0.6694 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2275, allocations: 0 / 0.6694 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.007409/0.2349, allocations: 2.826 MB / 0.6722 GB, free: 12.53 MB / 0.5137 GB 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)