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.001262/0.001262, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00142/0.00142, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.801 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.002561/0.002561, allocations: 290.4 kB / 312.7 MB, free: 2.617 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.002967/0.002967, allocations: 101.4 kB / 0.7395 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1906, allocations: 95.38 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007187/0.1978, allocations: 3.611 MB / 0.8362 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2012, allocations: 1.758 MB / 0.8379 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.2016, allocations: 27.75 kB / 0.8379 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009715/0.2025, allocations: 271.7 kB / 0.8382 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008106/0.2033, allocations: 314.4 kB / 0.8385 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.204, allocations: 242.2 kB / 0.8387 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008721/0.2049, allocations: 0.6168 MB / 0.8393 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.2054, allocations: 226.8 kB / 0.8395 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.2059, allocations: 259.1 kB / 0.8398 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.2064, allocations: 234.9 kB / 0.84 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.2065, allocations: 24 kB / 0.84 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.207, allocations: 243.4 kB / 0.8402 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.2072, allocations: 119.6 kB / 0.8404 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.2074, allocations: 175.1 kB / 0.8405 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.2083, allocations: 0.5952 MB / 0.8411 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2083, allocations: 3.984 kB / 0.8411 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2083, allocations: 4 kB / 0.8411 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.2084, allocations: 0 / 0.8411 GB, free: 15.6 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.001335/0.2097, allocations: 0.6642 MB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2097, allocations: 13.34 kB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.079e-05/0.2098, allocations: 74.7 kB / 0.8419 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.2107, allocations: 140.5 kB / 0.842 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.2114, allocations: 341.3 kB / 0.8423 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2114, allocations: 21.03 kB / 0.8423 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.2115, allocations: 32.31 kB / 0.8424 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.2124, allocations: 0.6364 MB / 0.843 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2124, allocations: 4 kB / 0.843 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.2125, allocations: 16 kB / 0.843 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.2125, allocations: 40.62 kB / 0.843 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.2133, allocations: 406.1 kB / 0.8434 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.2162, allocations: 2.752 MB / 0.8461 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.2169, allocations: 316.7 kB / 0.8464 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2172, allocations: 160.8 kB / 0.8466 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.2172, allocations: 7.938 kB / 0.8466 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2173, allocations: 34.56 kB / 0.8466 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.2173, allocations: 0 / 0.8466 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002052/0.2193, allocations: 0.8375 MB / 0.8474 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2194, allocations: 51.64 kB / 0.8475 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.2198, allocations: 357.4 kB / 0.8478 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2198, allocations: 29.7 kB / 0.8478 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.22, allocations: 252.1 kB / 0.8481 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.2201, allocations: 103.1 kB / 0.8482 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2202, allocations: 85.98 kB / 0.8483 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2203, allocations: 342.8 kB / 0.8486 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2206, allocations: 152.8 kB / 0.8487 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.221, allocations: 290.5 kB / 0.849 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.2217, allocations: 486.5 kB / 0.8495 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2218, allocations: 4 kB / 0.8495 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001023/0.2228, allocations: 0.5542 MB / 0.85 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2228, allocations: 8 kB / 0.85 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2228, allocations: 4 kB / 0.85 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/0.2231, allocations: 86.45 kB / 0.8501 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2234, allocations: 87.88 kB / 0.8502 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.2235, allocations: 15.88 kB / 0.8502 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.2237, allocations: 36.31 kB / 0.8503 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2238, allocations: 12 kB / 0.8503 GB, free: 5.723 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.000208/0.224, allocations: 178.4 kB / 0.8504 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.224, allocations: 43.7 kB / 0.8505 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.2249, allocations: 468.2 kB / 0.8509 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2249, allocations: 0 / 0.8509 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.225, allocations: 12 kB / 0.8509 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.225, allocations: 3.984 kB / 0.8509 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.2265, allocations: 0.8919 MB / 0.8518 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2265, allocations: 0 / 0.8518 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.2267, allocations: 55.89 kB / 0.8519 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.227, allocations: 78.5 kB / 0.8519 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.227, allocations: 12.09 kB / 0.852 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.227, allocations: 4 kB / 0.852 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.227, allocations: 0 / 0.852 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.2279, allocations: 0.5431 MB / 0.8525 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.228, allocations: 59.69 kB / 0.8525 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.2281, allocations: 8 kB / 0.8526 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2283, allocations: 23.91 kB / 0.8526 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.2284, allocations: 31.89 kB / 0.8526 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2284, allocations: 11.94 kB / 0.8526 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002598/0.2287, allocations: 235.2 kB / 0.8528 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2287, allocations: 0 / 0.8528 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004137/0.2291, allocations: 88 kB / 0.8529 GB, free: 2.867 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.001205/0.2303, allocations: 1.08 MB / 0.854 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000811/0.2311, allocations: 402.7 kB / 0.8544 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2311, allocations: 0 / 0.8544 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.2315, allocations: 191.6 kB / 0.8545 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.2322, allocations: 140 kB / 0.8547 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.2373, allocations: 3.729 MB / 0.8583 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2375, allocations: 223.7 kB / 0.8585 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.2377, allocations: 83.34 kB / 0.8586 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.2379, allocations: 127.4 kB / 0.8587 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2379, allocations: 0 / 0.8587 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.2769, allocations: 9.355 MB / 0.8679 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.17, allocations: 0 / 0.8679 GB, free: 3.555 MB / 0.6075 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.49753998965025] Failed to read output from testmodel.py, exit status != 0: 12.283847826067358 12.309090158 12.097205322 Calling exit ...