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.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.0008843/0.0008843, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001543/0.001543, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9076/0.9076, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.733/0.733, allocations: 154.6 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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 2.014e-06/2.014e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.586e-05/4.787e-05, allocations: 3.703 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00369/0.003738, allocations: 3.572 MB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.005908, allocations: 1.738 MB / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.006112, allocations: 27.75 kB / 0.6233 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.006713, allocations: 278.5 kB / 0.6235 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.007191, allocations: 318.1 kB / 0.6238 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.007726, allocations: 259.2 kB / 0.6241 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.008308, allocations: 0.6167 MB / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.008667, allocations: 234.6 kB / 0.6249 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.009057, allocations: 339.2 kB / 0.6252 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.009293, allocations: 203.4 kB / 0.6254 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.009325, allocations: 31.94 kB / 0.6254 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.009628, allocations: 243.3 kB / 0.6257 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.009728, allocations: 127.6 kB / 0.6258 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.00983, allocations: 139.7 kB / 0.6259 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.01036, allocations: 0.6112 MB / 0.6265 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01036, allocations: 0 / 0.6265 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01036, allocations: 0 / 0.6265 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.01037, allocations: 4 kB / 0.6265 GB, free: 4.969 MB / 0.5886 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.0008437/0.01121, allocations: 0.6604 MB / 0.6272 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01125, allocations: 9.469 kB / 0.6272 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.0113, allocations: 74.7 kB / 0.6273 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.01177, allocations: 148.4 kB / 0.6274 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.01237, allocations: 344.6 kB / 0.6277 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.01239, allocations: 21.03 kB / 0.6277 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.01242, allocations: 24.38 kB / 0.6278 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.01324, allocations: 0.6309 MB / 0.6284 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01325, allocations: 4 kB / 0.6284 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.01328, allocations: 15.98 kB / 0.6284 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.01332, allocations: 40.64 kB / 0.6284 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.01374, allocations: 410.1 kB / 0.6288 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.01538, allocations: 2.741 MB / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.0158, allocations: 310.4 kB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.01598, allocations: 168.6 kB / 0.632 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.016, allocations: 8 kB / 0.632 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.01602, allocations: 42.44 kB / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.01602, allocations: 0 / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001161/0.01718, allocations: 0.8369 MB / 0.6328 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01722, allocations: 59.58 kB / 0.6329 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.01744, allocations: 341.6 kB / 0.6332 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01745, allocations: 29.7 kB / 0.6332 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01756, allocations: 256 kB / 0.6335 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.01761, allocations: 99.16 kB / 0.6336 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.01768, allocations: 78.14 kB / 0.6337 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.01777, allocations: 350.8 kB / 0.634 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.01794, allocations: 144.9 kB / 0.6341 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.01838, allocations: 299.1 kB / 0.6344 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.01877, allocations: 479.3 kB / 0.6349 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01877, allocations: 4 kB / 0.6349 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005636/0.01934, allocations: 0.5622 MB / 0.6354 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01935, allocations: 8 kB / 0.6354 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01936, allocations: 4 kB / 0.6354 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.01954, allocations: 90.5 kB / 0.6355 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.01972, allocations: 87.81 kB / 0.6356 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01973, allocations: 11.94 kB / 0.6356 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.01986, allocations: 27.97 kB / 0.6356 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01988, allocations: 20.12 kB / 0.6357 GB, free: 11.11 MB / 0.6042 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.0001299/0.02001, allocations: 182.6 kB / 0.6358 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.02005, allocations: 39.77 kB / 0.6359 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.02055, allocations: 464.1 kB / 0.6363 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02056, allocations: 4 kB / 0.6363 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.02056, allocations: 0 / 0.6363 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02057, allocations: 0 / 0.6363 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.02139, allocations: 0.8974 MB / 0.6372 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0214, allocations: 0 / 0.6372 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.02151, allocations: 47.95 kB / 0.6372 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.02163, allocations: 86.39 kB / 0.6373 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.02164, allocations: 4 kB / 0.6373 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.02165, allocations: 8.094 kB / 0.6373 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02165, allocations: 0 / 0.6373 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.02211, allocations: 0.5441 MB / 0.6379 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.02219, allocations: 63.69 kB / 0.6379 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.02222, allocations: 8 kB / 0.6379 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.02233, allocations: 27.91 kB / 0.638 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.02237, allocations: 23.89 kB / 0.638 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.02238, allocations: 8 kB / 0.638 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001401/0.02252, allocations: 235.2 kB / 0.6382 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.02252, allocations: 7.938 kB / 0.6382 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002654/0.02279, allocations: 87.98 kB / 0.6383 GB, free: 8.262 MB / 0.6042 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.0006609/0.02345, allocations: 1.08 MB / 0.6394 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.02393, allocations: 395.6 kB / 0.6397 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02393, allocations: 0 / 0.6397 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.02413, allocations: 203.7 kB / 0.6399 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.02455, allocations: 139.3 kB / 0.6401 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.0277, allocations: 3.707 MB / 0.6437 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.02784, allocations: 223.7 kB / 0.6439 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.028, allocations: 75.36 kB / 0.644 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.02813, allocations: 132.5 kB / 0.6441 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.02813, allocations: 7.938 kB / 0.6441 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.04878, allocations: 9.428 MB / 0.6533 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.442, allocations: 7.172 kB / 0.6533 GB, free: 8.887 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.261585875414312] Failed to read output from testmodel.py, exit status != 0: 7.528199732303619 7.539995319 7.5276235 Calling exit ...