Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008269/0.0008269, 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.0008402/0.0008402, allocations: 169.9 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.8435/0.8435, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7065/0.7065, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.942e-05, allocations: 6.5 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003611/0.00363, allocations: 3.569 MB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.005948, allocations: 1.753 MB / 0.6233 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.006165, allocations: 23.81 kB / 0.6233 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.006789, allocations: 262.6 kB / 0.6236 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.00737, allocations: 318.1 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.007799, allocations: 263.2 kB / 0.6241 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.008369, allocations: 0.6244 MB / 0.6247 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.008745, allocations: 242.5 kB / 0.625 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.009189, allocations: 335.1 kB / 0.6253 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.009515, allocations: 203.4 kB / 0.6255 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.009558, allocations: 28 kB / 0.6255 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.009941, allocations: 247.3 kB / 0.6257 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.01008, allocations: 127.6 kB / 0.6259 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01021, allocations: 143.7 kB / 0.626 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.01084, allocations: 0.6035 MB / 0.6266 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01084, allocations: 0 / 0.6266 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01085, allocations: 0 / 0.6266 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.01085, allocations: 0 / 0.6266 GB, free: 4.902 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.00102/0.01187, allocations: 0.6682 MB / 0.6272 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.01192, allocations: 8.031 kB / 0.6273 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.01199, allocations: 74.7 kB / 0.6273 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/0.01253, allocations: 136.5 kB / 0.6275 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.01299, allocations: 352.5 kB / 0.6278 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.01301, allocations: 21.03 kB / 0.6278 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.01305, allocations: 32.36 kB / 0.6278 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.01368, allocations: 0.627 MB / 0.6285 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.0137, allocations: 4 kB / 0.6285 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.01372, allocations: 15.94 kB / 0.6285 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.01377, allocations: 40.62 kB / 0.6285 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.01425, allocations: 410.1 kB / 0.6289 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.01674, allocations: 2.737 MB / 0.6316 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.0172, allocations: 314.4 kB / 0.6319 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.01739, allocations: 160.7 kB / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01741, allocations: 8 kB / 0.632 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.01743, allocations: 34.56 kB / 0.6321 GB, free: 15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.01743, allocations: 0 / 0.6321 GB, free: 15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001279/0.01871, allocations: 0.8392 MB / 0.6329 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01874, allocations: 59.58 kB / 0.6329 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.01901, allocations: 349.5 kB / 0.6333 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01903, allocations: 29.7 kB / 0.6333 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01915, allocations: 252.1 kB / 0.6335 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.01921, allocations: 103.2 kB / 0.6336 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.0193, allocations: 78.14 kB / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.0194, allocations: 350.7 kB / 0.6341 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.01957, allocations: 148.9 kB / 0.6342 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.01979, allocations: 287.2 kB / 0.6345 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.02024, allocations: 491.2 kB / 0.6349 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02024, allocations: 0 / 0.6349 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006299/0.02087, allocations: 0.5657 MB / 0.6355 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.02088, allocations: 4 kB / 0.6355 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02089, allocations: 8 kB / 0.6355 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.02109, allocations: 91.06 kB / 0.6356 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.02128, allocations: 87.88 kB / 0.6357 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.02129, allocations: 7.938 kB / 0.6357 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.02144, allocations: 31.97 kB / 0.6357 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.02146, allocations: 16 kB / 0.6357 GB, free: 11.04 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.0005524/0.02202, allocations: 178.6 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.02206, allocations: 43.75 kB / 0.6359 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.02261, allocations: 468.1 kB / 0.6364 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02261, allocations: 0 / 0.6364 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.02262, allocations: 4 kB / 0.6364 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02262, allocations: 0 / 0.6364 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.02353, allocations: 0.8937 MB / 0.6373 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02353, allocations: 0 / 0.6373 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.02367, allocations: 51.89 kB / 0.6373 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.02381, allocations: 86.55 kB / 0.6374 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.02382, allocations: 4 kB / 0.6374 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.02382, allocations: 4 kB / 0.6374 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.02383, allocations: 0 / 0.6374 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.02433, allocations: 0.5435 MB / 0.6379 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.02443, allocations: 67.67 kB / 0.638 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.02446, allocations: 8 kB / 0.638 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.02457, allocations: 31.91 kB / 0.638 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.02463, allocations: 31.77 kB / 0.6381 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.02464, allocations: 8 kB / 0.6381 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001497/0.02479, allocations: 235.2 kB / 0.6383 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.02479, allocations: 0 / 0.6383 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002801/0.02507, allocations: 84 kB / 0.6384 GB, free: 8.188 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.0007095/0.02578, allocations: 1.089 MB / 0.6394 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.02628, allocations: 391.2 kB / 0.6398 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02629, allocations: 0 / 0.6398 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.0265, allocations: 199.5 kB / 0.64 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.02696, allocations: 139.8 kB / 0.6401 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.0303, allocations: 3.703 MB / 0.6438 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.03044, allocations: 223.7 kB / 0.644 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.03062, allocations: 87.33 kB / 0.6441 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.03075, allocations: 132.5 kB / 0.6442 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.03076, allocations: 0 / 0.6442 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.05174, allocations: 9.428 MB / 0.6534 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.403, allocations: 6.391 kB / 0.6534 GB, free: 8.82 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.000068670138717] Failed to read output from testmodel.py, exit status != 0: 7.487792261876166 7.495975042 7.483368552 Calling exit ...