Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9684/0.9684, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00185/0.00185, allocations: 241.9 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7465/0.7465, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 1.266 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.21e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003237/0.003249, allocations: 3.123 MB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004943, allocations: 1.143 MB / 466.6 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005098, allocations: 22.62 kB / 466.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.005524, allocations: 131.7 kB / 466.8 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.005943, allocations: 241.5 kB / 467 MB, free: 13.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.006332, allocations: 213.8 kB / 467.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.00687, allocations: 0.6281 MB / 467.8 MB, free: 13.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.007151, allocations: 243.3 kB / 468.1 MB, free: 12.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.007518, allocations: 344.5 kB / 468.4 MB, free: 12.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.007765, allocations: 215.4 kB / 468.6 MB, free: 12.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.007799, allocations: 25.59 kB / 468.7 MB, free: 12.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.007944, allocations: 91.8 kB / 468.7 MB, free: 12.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.008039, allocations: 135.6 kB / 468.9 MB, free: 12.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.008139, allocations: 135.6 kB / 469 MB, free: 11.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.00849, allocations: 360.5 kB / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.008492, allocations: 0 / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008493, allocations: 0 / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008498, allocations: 0 / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0005764/0.009074, allocations: 0.6202 MB / 470 MB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.009103, allocations: 14.84 kB / 470 MB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.009529, allocations: 132.6 kB / 470.1 MB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.009875, allocations: 337.4 kB / 470.5 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.009892, allocations: 23.25 kB / 470.5 MB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.009929, allocations: 36.31 kB / 470.5 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.0103, allocations: 487 kB / 471 MB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01031, allocations: 3.938 kB / 471 MB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.01033, allocations: 12 kB / 471 MB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.01038, allocations: 44.62 kB / 471.1 MB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.01053, allocations: 152 kB / 471.2 MB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.01183, allocations: 2.36 MB / 473.6 MB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.01207, allocations: 200.5 kB / 473.8 MB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.01213, allocations: 52.84 kB / 473.8 MB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.01215, allocations: 4.797 kB / 473.8 MB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.01217, allocations: 31.97 kB / 473.8 MB, free: 6.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 4.187e-06/0.01218, allocations: 0 / 473.8 MB, free: 6.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006214/0.0128, allocations: 375.9 kB / 474.2 MB, free: 6.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.01282, allocations: 56.33 kB / 474.3 MB, free: 6.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.01298, allocations: 315.8 kB / 474.6 MB, free: 6.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.01299, allocations: 29.7 kB / 474.6 MB, free: 6.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.01308, allocations: 233.6 kB / 474.8 MB, free: 5.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.01313, allocations: 91.17 kB / 474.9 MB, free: 5.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.0132, allocations: 74.11 kB / 475 MB, free: 5.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.01328, allocations: 359.9 kB / 475.3 MB, free: 5.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.01333, allocations: 36.98 kB / 475.4 MB, free: 5.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01344, allocations: 191.2 kB / 475.6 MB, free: 5.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01364, allocations: 275.8 kB / 475.8 MB, free: 4.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01364, allocations: 0.75 kB / 475.8 MB, free: 4.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003168/0.01396, allocations: 324.4 kB / 476.2 MB, free: 4.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01397, allocations: 8 kB / 476.2 MB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01398, allocations: 4 kB / 476.2 MB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.01411, allocations: 68.77 kB / 476.2 MB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.01429, allocations: 79.89 kB / 476.3 MB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01429, allocations: 15.88 kB / 476.3 MB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01439, allocations: 22.89 kB / 476.3 MB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01441, allocations: 12 kB / 476.4 MB, free: 4.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.0145, allocations: 136.5 kB / 476.5 MB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.01454, allocations: 35.91 kB / 476.5 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.0148, allocations: 234.7 kB / 476.8 MB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.0148, allocations: 7.406 kB / 476.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.0148, allocations: 3.938 kB / 476.8 MB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01481, allocations: 3.984 kB / 476.8 MB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.01529, allocations: 0.5155 MB / 477.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01529, allocations: 1.25 kB / 477.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01539, allocations: 43.91 kB / 477.3 MB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.933e-05/0.01549, allocations: 60.3 kB / 477.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.0155, allocations: 8 kB / 477.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0155, allocations: 0 / 477.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01551, allocations: 8.922 kB / 477.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.01577, allocations: 369.5 kB / 477.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.01583, allocations: 52.25 kB / 477.8 MB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01585, allocations: 11.98 kB / 477.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.01593, allocations: 9.031 kB / 477.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01598, allocations: 27.89 kB / 477.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01599, allocations: 5.188 kB / 477.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.01606, allocations: 124.7 kB / 478 MB, free: 2.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01606, allocations: 0 / 478 MB, free: 2.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.01628, allocations: 84 kB / 478.1 MB, free: 2.344 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.743e-05/0.01635, allocations: 88.34 kB / 478.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.0166, allocations: 202.4 kB / 478.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.01661, allocations: 5.312 kB / 478.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.01672, allocations: 117.5 kB / 478.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01705, allocations: 123.2 kB / 478.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.01778, allocations: 0.6687 MB / 479.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.01785, allocations: 120.3 kB / 479.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01795, allocations: 49.86 kB / 479.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.01813, allocations: 138.5 kB / 479.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01813, allocations: 0 / 479.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of Templates: time 0.006572/0.0247, allocations: 5.124 MB / 484.7 MB, free: 12.07 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5087596252560616]