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.0008918/0.0008918, 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.001621/0.001621, 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.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7137/0.7137, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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 1.352e-06/1.352e-06, allocations: 3.938 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.136e-05, allocations: 6.562 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003586/0.003607, allocations: 3.583 MB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005796, allocations: 1.734 MB / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.006014, allocations: 23.75 kB / 0.6233 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.006671, allocations: 274.5 kB / 0.6235 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.007192, allocations: 322.1 kB / 0.6238 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.007621, allocations: 250.8 kB / 0.6241 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.00816, allocations: 0.6244 MB / 0.6247 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.008536, allocations: 238.5 kB / 0.6249 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.009041, allocations: 339.1 kB / 0.6252 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.009282, allocations: 207.4 kB / 0.6254 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.009315, allocations: 28 kB / 0.6255 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.00966, allocations: 247.3 kB / 0.6257 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.009784, allocations: 131.5 kB / 0.6258 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.009894, allocations: 135.7 kB / 0.6259 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.01048, allocations: 0.6074 MB / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01048, allocations: 0 / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.275e-06/0.01049, allocations: 4 kB / 0.6265 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.01049, allocations: 0 / 0.6265 GB, free: 5.008 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.0009773/0.01147, allocations: 0.6642 MB / 0.6272 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.01152, allocations: 13.47 kB / 0.6272 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.01157, allocations: 66.72 kB / 0.6273 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/0.01208, allocations: 140.5 kB / 0.6274 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.01248, allocations: 344.6 kB / 0.6277 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.0125, allocations: 25.02 kB / 0.6278 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.01254, allocations: 28.38 kB / 0.6278 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.01313, allocations: 0.6348 MB / 0.6284 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.01315, allocations: 3.938 kB / 0.6284 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.01318, allocations: 19.98 kB / 0.6284 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.01322, allocations: 40.62 kB / 0.6285 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.01367, allocations: 402.1 kB / 0.6288 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.01543, allocations: 2.737 MB / 0.6315 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.0159, allocations: 314.5 kB / 0.6318 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.01615, allocations: 160.7 kB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.01617, allocations: 4 kB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01619, allocations: 38.5 kB / 0.632 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.195e-06/0.0162, allocations: 3.938 kB / 0.632 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001193/0.01739, allocations: 0.8407 MB / 0.6328 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.01742, allocations: 55.58 kB / 0.6329 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.01765, allocations: 349.5 kB / 0.6332 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01767, allocations: 33.7 kB / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01779, allocations: 256 kB / 0.6335 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.01785, allocations: 95.12 kB / 0.6336 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.01792, allocations: 78.14 kB / 0.6337 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.01802, allocations: 350.8 kB / 0.634 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.01818, allocations: 148.9 kB / 0.6341 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.0184, allocations: 291.1 kB / 0.6344 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.01882, allocations: 487.3 kB / 0.6349 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01882, allocations: 4 kB / 0.6349 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005757/0.0194, allocations: 0.5579 MB / 0.6354 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.01942, allocations: 11.98 kB / 0.6354 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01943, allocations: 4 kB / 0.6354 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.01962, allocations: 82.52 kB / 0.6355 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.01981, allocations: 92.31 kB / 0.6356 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01982, allocations: 12 kB / 0.6356 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.01995, allocations: 27.97 kB / 0.6356 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01996, allocations: 16 kB / 0.6357 GB, free: 11.16 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.0001392/0.0201, allocations: 186.5 kB / 0.6358 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.02014, allocations: 39.77 kB / 0.6359 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.02065, allocations: 456.1 kB / 0.6363 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.02066, allocations: 12 kB / 0.6363 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.02066, allocations: 0 / 0.6363 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.02067, allocations: 4 kB / 0.6363 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.02152, allocations: 0.8896 MB / 0.6372 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02152, allocations: 4 kB / 0.6372 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.02164, allocations: 55.89 kB / 0.6373 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.02177, allocations: 82.55 kB / 0.6373 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.02179, allocations: 8 kB / 0.6373 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.02179, allocations: 3.984 kB / 0.6373 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02179, allocations: 7.938 kB / 0.6374 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.02226, allocations: 0.5403 MB / 0.6379 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.02234, allocations: 59.69 kB / 0.6379 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.02237, allocations: 11.98 kB / 0.638 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.02248, allocations: 19.98 kB / 0.638 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.02253, allocations: 27.89 kB / 0.638 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.02254, allocations: 8 kB / 0.638 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001425/0.02269, allocations: 239.2 kB / 0.6382 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.02269, allocations: 0 / 0.6382 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002765/0.02296, allocations: 95.88 kB / 0.6383 GB, free: 8.297 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.0008094/0.02377, allocations: 1.084 MB / 0.6394 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.0243, allocations: 396.7 kB / 0.6398 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02431, allocations: 0 / 0.6398 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.02451, allocations: 202.6 kB / 0.64 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.02497, allocations: 124.5 kB / 0.6401 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.02803, allocations: 3.699 MB / 0.6437 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.02819, allocations: 227.7 kB / 0.6439 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000208/0.0284, allocations: 79.36 kB / 0.644 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.02854, allocations: 128.5 kB / 0.6441 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.02854, allocations: 0 / 0.6441 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.05294, allocations: 9.444 MB / 0.6533 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.406, allocations: 3.984 kB / 0.6533 GB, free: 8.926 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.145147836767137] Failed to read output from testmodel.py, exit status != 0: 7.495084886439145 7.510000429 7.497002122 Calling exit ...