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.0007215/0.0007215, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007758/0.0007758, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8706/0.8706, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7038/0.7038, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.865e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00352/0.003548, allocations: 3.579 MB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.005573, allocations: 1.738 MB / 0.6245 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.005768, allocations: 19.81 kB / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.006413, allocations: 270.6 kB / 0.6248 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.006902, allocations: 330 kB / 0.6251 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.007304, allocations: 250.1 kB / 0.6254 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.007827, allocations: 0.6244 MB / 0.626 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.008202, allocations: 230.6 kB / 0.6262 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.008627, allocations: 351 kB / 0.6265 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.008871, allocations: 203.4 kB / 0.6267 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.008904, allocations: 24 kB / 0.6267 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.009216, allocations: 251.2 kB / 0.627 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.009319, allocations: 135.5 kB / 0.6271 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.009434, allocations: 135.6 kB / 0.6272 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.009997, allocations: 0.6074 MB / 0.6278 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.009999, allocations: 0 / 0.6278 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01, allocations: 0 / 0.6278 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.01001, allocations: 4 kB / 0.6278 GB, free: 4.277 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.0008315/0.01084, allocations: 0.6603 MB / 0.6285 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01088, allocations: 12.03 kB / 0.6285 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.01137, allocations: 140.5 kB / 0.6286 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.01177, allocations: 352.5 kB / 0.629 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.01179, allocations: 21.03 kB / 0.629 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.01183, allocations: 32.36 kB / 0.629 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.01241, allocations: 0.6233 MB / 0.6296 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.01242, allocations: 0 / 0.6296 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.01245, allocations: 12 kB / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.01249, allocations: 44.62 kB / 0.6297 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.01292, allocations: 410.1 kB / 0.6301 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.01461, allocations: 2.683 MB / 0.6327 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.01506, allocations: 314.4 kB / 0.633 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.01523, allocations: 160.8 kB / 0.6331 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.01525, allocations: 4 kB / 0.6331 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.01527, allocations: 38.5 kB / 0.6332 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.01527, allocations: 0 / 0.6332 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001365/0.01663, allocations: 0.8344 MB / 0.634 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.01666, allocations: 55.64 kB / 0.634 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.0169, allocations: 333.5 kB / 0.6344 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.01692, allocations: 29.7 kB / 0.6344 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01704, allocations: 252 kB / 0.6346 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.0171, allocations: 103 kB / 0.6347 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.01718, allocations: 78.14 kB / 0.6348 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01728, allocations: 342.8 kB / 0.6351 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01745, allocations: 152.9 kB / 0.6353 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.01768, allocations: 291.2 kB / 0.6356 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.01811, allocations: 487.9 kB / 0.636 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01812, allocations: 0 / 0.636 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006173/0.01873, allocations: 0.5624 MB / 0.6366 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01875, allocations: 4 kB / 0.6366 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.01876, allocations: 7.938 kB / 0.6366 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.01895, allocations: 90.44 kB / 0.6367 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01913, allocations: 91.88 kB / 0.6368 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01914, allocations: 7.938 kB / 0.6368 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.01927, allocations: 31.97 kB / 0.6368 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01929, allocations: 16 kB / 0.6368 GB, free: 10.6 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.0001442/0.01944, allocations: 184 kB / 0.637 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.01948, allocations: 43.7 kB / 0.637 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.02003, allocations: 459.9 kB / 0.6375 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02003, allocations: 4 kB / 0.6375 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.02004, allocations: 0 / 0.6375 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02004, allocations: 3.938 kB / 0.6375 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008837/0.02093, allocations: 0.8397 MB / 0.6383 GB, free: 9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02093, allocations: 0 / 0.6383 GB, free: 9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.02112, allocations: 51.89 kB / 0.6383 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.02125, allocations: 82.52 kB / 0.6384 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.02127, allocations: 8 kB / 0.6384 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.02127, allocations: 0 / 0.6384 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02128, allocations: 8.031 kB / 0.6384 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.02179, allocations: 0.5513 MB / 0.639 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.02187, allocations: 59.72 kB / 0.639 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.0219, allocations: 8 kB / 0.639 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.022, allocations: 23.97 kB / 0.6391 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.02206, allocations: 27.83 kB / 0.6391 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02207, allocations: 8 kB / 0.6391 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001388/0.02221, allocations: 223.2 kB / 0.6393 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02221, allocations: 4 kB / 0.6393 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002679/0.02248, allocations: 88 kB / 0.6394 GB, free: 7.824 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.0001106/0.02259, allocations: 99.19 kB / 0.6395 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.02313, allocations: 403 kB / 0.6399 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02313, allocations: 0 / 0.6399 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.02348, allocations: 195 kB / 0.6401 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.02391, allocations: 131.1 kB / 0.6402 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.02477, allocations: 0.7423 MB / 0.6409 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.02491, allocations: 224.1 kB / 0.6411 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.02498, allocations: 28.5 kB / 0.6411 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.02498, allocations: 0 / 0.6411 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of Templates: time 0.008966/0.03395, allocations: 9.561 MB / 0.6505 GB, free: 12.43 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8800622299313545] Failed to read output from testmodel.py, exit status != 0: 0.03942079748958349 0.048004357000000004 0.036265298 Calling exit ...