Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001641/0.001641, 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.002058/0.002058, allocations: 216.2 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.793 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.002581/0.002581, allocations: 298.1 kB / 312.7 MB, free: 2.613 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.267/1.267, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [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.003027/0.003027, allocations: 101.8 kB / 0.7395 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1787, allocations: 95.38 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006762/0.1855, allocations: 4.622 MB / 0.8372 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.1902, allocations: 2.401 MB / 0.8395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.1908, allocations: 35.62 kB / 0.8395 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.1923, allocations: 404.2 kB / 0.8399 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1937, allocations: 465.7 kB / 0.8404 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1947, allocations: 377.2 kB / 0.8407 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1962, allocations: 0.9177 MB / 0.8416 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.1969, allocations: 330.5 kB / 0.8419 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.1978, allocations: 354.6 kB / 0.8423 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.1986, allocations: 350.4 kB / 0.8426 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1987, allocations: 36 kB / 0.8426 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008331/0.1995, allocations: 355.2 kB / 0.843 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.1998, allocations: 183.4 kB / 0.8432 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.2002, allocations: 270.6 kB / 0.8434 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2017, allocations: 0.8871 MB / 0.8443 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2017, allocations: 0 / 0.8443 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2017, allocations: 3.938 kB / 0.8443 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.236e-05/0.2017, allocations: 0 / 0.8443 GB, free: 12.38 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001887/0.2036, allocations: 0.878 MB / 0.8451 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2037, allocations: 13.94 kB / 0.8452 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2038, allocations: 90.69 kB / 0.8452 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.2051, allocations: 208.2 kB / 0.8454 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.2061, allocations: 480.8 kB / 0.8459 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.2062, allocations: 33.36 kB / 0.8459 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/0.2063, allocations: 44.36 kB / 0.846 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2076, allocations: 0.9894 MB / 0.8469 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2077, allocations: 7.938 kB / 0.8469 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.2077, allocations: 20 kB / 0.847 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.2078, allocations: 64.95 kB / 0.847 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.2088, allocations: 0.5616 MB / 0.8476 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.2137, allocations: 4.732 MB / 0.8522 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.2144, allocations: 414.3 kB / 0.8526 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.2148, allocations: 200.7 kB / 0.8528 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.2148, allocations: 12.45 kB / 0.8528 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2148, allocations: 38.56 kB / 0.8528 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.405e-06/0.2148, allocations: 0 / 0.8528 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002531/0.2174, allocations: 1.134 MB / 0.8539 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.2174, allocations: 59.69 kB / 0.854 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.218, allocations: 0.5066 MB / 0.8545 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2181, allocations: 29.7 kB / 0.8545 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.2184, allocations: 363.8 kB / 0.8549 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2185, allocations: 122.9 kB / 0.855 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2186, allocations: 114.2 kB / 0.8551 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2188, allocations: 366.8 kB / 0.8554 GB, free: 448 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2191, allocations: 193.2 kB / 0.8556 GB, free: 252 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.2197, allocations: 447.3 kB / 0.8561 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.2206, allocations: 0.6913 MB / 0.8567 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.2206, allocations: 4 kB / 0.8567 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001427/0.222, allocations: 0.8135 MB / 0.8575 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.222, allocations: 11.94 kB / 0.8575 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2221, allocations: 8 kB / 0.8575 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005223/0.2226, allocations: 160.7 kB / 0.8577 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.2231, allocations: 123.8 kB / 0.8578 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.2267, allocations: 4.025 MB / 0.8617 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.2271, allocations: 31.97 kB / 0.8618 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.2272, allocations: 28 kB / 0.8618 GB, free: 9.309 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.2275, allocations: 218.4 kB / 0.862 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2276, allocations: 63.62 kB / 0.8621 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.2287, allocations: 0.5968 MB / 0.8627 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2287, allocations: 4 kB / 0.8627 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2287, allocations: 0 / 0.8627 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2287, allocations: 4 kB / 0.8627 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.2308, allocations: 1.187 MB / 0.8638 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2308, allocations: 0 / 0.8638 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.2311, allocations: 59.89 kB / 0.8639 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.2315, allocations: 140.1 kB / 0.864 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.2315, allocations: 11.94 kB / 0.864 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.2352, allocations: 4.019 MB / 0.868 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2352, allocations: 3.938 kB / 0.868 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2364, allocations: 0.7085 MB / 0.8686 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.2367, allocations: 83.59 kB / 0.8687 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.2368, allocations: 15.98 kB / 0.8687 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.2371, allocations: 19.97 kB / 0.8688 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.2372, allocations: 35.83 kB / 0.8688 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2372, allocations: 12.12 kB / 0.8688 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004424/0.2376, allocations: 334.8 kB / 0.8691 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2376, allocations: 4 kB / 0.8691 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00068/0.2383, allocations: 136 kB / 0.8693 GB, free: 1.148 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.2398, allocations: 1.261 MB / 0.8705 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.2413, allocations: 0.8663 MB / 0.8713 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2413, allocations: 0 / 0.8713 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.2422, allocations: 0.5717 MB / 0.8719 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2432, allocations: 216.6 kB / 0.8721 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.2505, allocations: 5.116 MB / 0.8771 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2509, allocations: 307.5 kB / 0.8774 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.2513, allocations: 113.3 kB / 0.8775 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.2516, allocations: 195.4 kB / 0.8777 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.2516, allocations: 0 / 0.8777 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/0.3071, allocations: 14.17 MB / 0.8915 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.07, allocations: 15.38 kB / 0.8915 GB, free: 10.18 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.288438675925136] Failed to read output from testmodel.py, exit status != 0: 12.190583643037826 12.206911387 12.00183466 Calling exit ...