Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 107.4 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 173.5 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.83 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1829, allocations: 89.52 MB / 0.7353 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005452/0.1884, allocations: 3.741 MB / 0.7389 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.1916, allocations: 1.8 MB / 0.7407 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.1918, allocations: 11.94 kB / 0.7407 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008798/0.1927, allocations: 266.6 kB / 0.7409 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000726/0.1935, allocations: 298.5 kB / 0.7412 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.1941, allocations: 251.5 kB / 0.7415 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.1948, allocations: 0.6088 MB / 0.7421 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.1952, allocations: 258.5 kB / 0.7423 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.1956, allocations: 239.1 kB / 0.7425 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1959, allocations: 235 kB / 0.7428 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.196, allocations: 27.98 kB / 0.7428 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.1965, allocations: 267.4 kB / 0.743 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1966, allocations: 123.6 kB / 0.7432 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.1968, allocations: 206.8 kB / 0.7433 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.1976, allocations: 0.5875 MB / 0.7439 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1976, allocations: 4 kB / 0.7439 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1976, allocations: 4 kB / 0.7439 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1976, allocations: 0 / 0.7439 GB, free: 9.324 MB / 0.5762 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.001235/0.1989, allocations: 0.7473 MB / 0.7447 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1989, allocations: 12.03 kB / 0.7447 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.199, allocations: 74.72 kB / 0.7447 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.1999, allocations: 132.5 kB / 0.7449 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.2005, allocations: 415.8 kB / 0.7453 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2005, allocations: 21.03 kB / 0.7453 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.2006, allocations: 36.31 kB / 0.7453 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.2014, allocations: 0.547 MB / 0.7459 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2015, allocations: 7.938 kB / 0.7459 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2015, allocations: 15.98 kB / 0.7459 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-05/0.2016, allocations: 40.53 kB / 0.7459 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.2023, allocations: 409.8 kB / 0.7463 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.2054, allocations: 3.33 MB / 0.7496 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.2061, allocations: 345.7 kB / 0.7499 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.2064, allocations: 176.8 kB / 0.7501 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2065, allocations: 4 kB / 0.7501 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2065, allocations: 30.56 kB / 0.7501 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.2065, allocations: 4 kB / 0.7501 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.00211/0.2086, allocations: 1.068 MB / 0.7511 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2087, allocations: 59.58 kB / 0.7512 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.2091, allocations: 337.6 kB / 0.7515 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2091, allocations: 33.7 kB / 0.7515 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2093, allocations: 240.2 kB / 0.7518 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.2094, allocations: 103.1 kB / 0.7519 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2095, allocations: 82.08 kB / 0.752 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2097, allocations: 350.8 kB / 0.7523 GB, free: 208 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.21, allocations: 144.8 kB / 0.7524 GB, free: 64 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3217/0.5318, allocations: 288.6 kB / 0.7527 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.5328, allocations: 489.7 kB / 0.7532 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5328, allocations: 2.531 kB / 0.7532 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001331/0.5341, allocations: 0.5612 MB / 0.7537 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.5342, allocations: 9.844 kB / 0.7537 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.5342, allocations: 5.531 kB / 0.7537 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.5346, allocations: 92.42 kB / 0.7538 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.535, allocations: 87.3 kB / 0.7539 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.5351, allocations: 8.5 kB / 0.7539 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.5354, allocations: 29.47 kB / 0.7539 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.5355, allocations: 18.28 kB / 0.754 GB, free: 18.21 MB / 0.5762 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.000215/0.5357, allocations: 177.1 kB / 0.7541 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.5358, allocations: 40.31 kB / 0.7542 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/0.5368, allocations: 467 kB / 0.7546 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5368, allocations: 10.75 kB / 0.7546 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5368, allocations: 2.625 kB / 0.7546 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5368, allocations: 2.766 kB / 0.7546 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.5381, allocations: 0.9587 MB / 0.7556 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5381, allocations: 4.531 kB / 0.7556 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.5383, allocations: 49.97 kB / 0.7556 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.5385, allocations: 80.2 kB / 0.7557 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.5386, allocations: 8.812 kB / 0.7557 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5386, allocations: 2.438 kB / 0.7557 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5386, allocations: 8.969 kB / 0.7557 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.5394, allocations: 0.5473 MB / 0.7562 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5395, allocations: 141.3 kB / 0.7564 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.5395, allocations: 10.06 kB / 0.7564 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.5397, allocations: 19.2 kB / 0.7564 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.5398, allocations: 24.86 kB / 0.7564 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.5399, allocations: 6.562 kB / 0.7564 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000209/0.5401, allocations: 234 kB / 0.7567 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5401, allocations: 1.375 kB / 0.7567 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004178/0.5405, allocations: 86.72 kB / 0.7567 GB, free: 17.27 MB / 0.5762 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.0009264/0.5414, allocations: 1.099 MB / 0.7578 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008078/0.5422, allocations: 0.6292 MB / 0.7584 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5423, allocations: 4.75 kB / 0.7584 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.5426, allocations: 435.1 kB / 0.7589 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.5433, allocations: 132.7 kB / 0.759 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.5474, allocations: 3.724 MB / 0.7626 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5477, allocations: 0.8211 MB / 0.7634 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.5479, allocations: 89.61 kB / 0.7635 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5481, allocations: 123.2 kB / 0.7636 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.5481, allocations: 4.531 kB / 0.7636 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.5816, allocations: 8.302 MB / 0.7717 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.65, allocations: 8 kB / 0.7717 GB, free: 12.59 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.368912167148665] Failed to read output from testmodel.py, exit status != 0: 10.738323288038373 10.76008499 10.558958991 Calling exit ...