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.001322/0.001322, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001446/0.001446, allocations: 215.9 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.00263/0.00263, allocations: 296 kB / 312.7 MB, free: 2.598 MB / 238.1 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 1.311/1.311, allocations: 180.6 MB / 0.5369 GB, free: 14.51 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004481/0.004481, allocations: 106.7 kB / 0.74 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1912, allocations: 95.38 MB / 0.8331 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006723/0.1979, allocations: 3.617 MB / 0.8367 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2016, allocations: 1.766 MB / 0.8384 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.202, allocations: 23.75 kB / 0.8384 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2032, allocations: 262.7 kB / 0.8387 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009308/0.2041, allocations: 314.4 kB / 0.839 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.2048, allocations: 245.6 kB / 0.8392 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009436/0.2058, allocations: 0.613 MB / 0.8398 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.2063, allocations: 235.8 kB / 0.84 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.2069, allocations: 247.1 kB / 0.8403 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.2074, allocations: 234.9 kB / 0.8405 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.2075, allocations: 28 kB / 0.8405 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.208, allocations: 243.4 kB / 0.8407 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.2082, allocations: 123.6 kB / 0.8409 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.2085, allocations: 179.1 kB / 0.841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.2094, allocations: 0.5836 MB / 0.8416 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2094, allocations: 3.984 kB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2094, allocations: 0 / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.2094, allocations: 0 / 0.8416 GB, free: 15.14 MB / 0.5919 GB 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.001447/0.2109, allocations: 0.6759 MB / 0.8423 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2109, allocations: 13.94 kB / 0.8423 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.2119, allocations: 136.5 kB / 0.8424 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.2126, allocations: 345.4 kB / 0.8427 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2127, allocations: 25.02 kB / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.2127, allocations: 28.38 kB / 0.8428 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.2137, allocations: 0.6302 MB / 0.8434 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2138, allocations: 3.984 kB / 0.8434 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.2138, allocations: 19.98 kB / 0.8434 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.305e-05/0.2139, allocations: 44.56 kB / 0.8435 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.2147, allocations: 410.1 kB / 0.8439 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.2177, allocations: 2.687 MB / 0.8465 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.2184, allocations: 306.5 kB / 0.8468 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.2187, allocations: 160.8 kB / 0.8469 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2188, allocations: 7.938 kB / 0.8469 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2188, allocations: 42.5 kB / 0.847 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.2188, allocations: 0 / 0.847 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.00213/0.2209, allocations: 0.8373 MB / 0.8478 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.221, allocations: 55.64 kB / 0.8478 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.2214, allocations: 325.5 kB / 0.8482 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.2214, allocations: 33.7 kB / 0.8482 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2216, allocations: 260 kB / 0.8484 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.2217, allocations: 99.16 kB / 0.8485 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2218, allocations: 78.05 kB / 0.8486 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.222, allocations: 346.8 kB / 0.8489 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.2223, allocations: 148.8 kB / 0.8491 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.2227, allocations: 290.5 kB / 0.8493 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.2234, allocations: 482.5 kB / 0.8498 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2234, allocations: 3.938 kB / 0.8498 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001101/0.2245, allocations: 0.554 MB / 0.8504 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2246, allocations: 8 kB / 0.8504 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2246, allocations: 4.625 kB / 0.8504 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.2249, allocations: 94.45 kB / 0.8505 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.2253, allocations: 87.86 kB / 0.8505 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.2253, allocations: 15.92 kB / 0.8506 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.2256, allocations: 23.98 kB / 0.8506 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.2256, allocations: 27.92 kB / 0.8506 GB, free: 5.426 MB / 0.5919 GB 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 0.0002114/0.2258, allocations: 166.4 kB / 0.8508 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.2259, allocations: 47.72 kB / 0.8508 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.2268, allocations: 468.2 kB / 0.8513 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2268, allocations: 4 kB / 0.8513 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2268, allocations: 0 / 0.8513 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2269, allocations: 3.984 kB / 0.8513 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.2284, allocations: 0.8459 MB / 0.8521 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2284, allocations: 4.094 kB / 0.8521 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.2287, allocations: 47.97 kB / 0.8521 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.2289, allocations: 94.38 kB / 0.8522 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.2289, allocations: 7.938 kB / 0.8522 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.2289, allocations: 4 kB / 0.8522 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2289, allocations: 0 / 0.8522 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.2299, allocations: 0.547 MB / 0.8528 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.23, allocations: 59.69 kB / 0.8528 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.2301, allocations: 8 kB / 0.8528 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.2303, allocations: 19.97 kB / 0.8529 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.2304, allocations: 27.89 kB / 0.8529 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2304, allocations: 8 kB / 0.8529 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002383/0.2306, allocations: 219.2 kB / 0.8531 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2306, allocations: 3.938 kB / 0.8531 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000435/0.2311, allocations: 95.92 kB / 0.8532 GB, free: 2.648 MB / 0.5919 GB 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 0.0001428/0.2312, allocations: 103.2 kB / 0.8533 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.2321, allocations: 399.1 kB / 0.8537 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2321, allocations: 192 / 0.8537 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.2325, allocations: 198.3 kB / 0.8539 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.2332, allocations: 112 kB / 0.854 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2344, allocations: 0.7442 MB / 0.8547 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2346, allocations: 220.1 kB / 0.8549 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000246/0.2349, allocations: 83.27 kB / 0.855 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.235, allocations: 31.44 kB / 0.855 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.235, allocations: 0 / 0.855 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of Templates: time 0.011/0.246, allocations: 5.292 MB / 0.8602 GB, free: 11.56 MB / 0.6075 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.263452695682645] Failed to read output from testmodel.py, exit status != 0: 0.2546676881611347 0.269818253 0.05699863 Calling exit ...