Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.0008063/0.0008063, 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.0008891/0.0008891, allocations: 165.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.9077/0.9077, 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 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.7064/0.7064, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.658e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002624/0.002641, allocations: 2.288 MB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.003598, allocations: 0.8179 MB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.003693, allocations: 4 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.004222, allocations: 147.3 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.004403, allocations: 67.48 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004595, allocations: 71.78 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.004809, allocations: 159.4 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.005034, allocations: 77.12 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.005214, allocations: 103.7 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.005352, allocations: 55.86 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.005374, allocations: 16 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.005461, allocations: 55.83 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.005507, allocations: 39.84 kB / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.005558, allocations: 47.89 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.005771, allocations: 183.4 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005775, allocations: 8 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005776, allocations: 0 / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.005781, allocations: 0 / 0.6221 GB, free: 9.398 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005477/0.006329, allocations: 413.3 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.006365, allocations: 8.031 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.006401, allocations: 46.73 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.006569, allocations: 36.83 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.006753, allocations: 158.1 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.006808, allocations: 68.14 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.006834, allocations: 20.06 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.007046, allocations: 173.1 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.007053, allocations: 0 / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.007067, allocations: 8 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.007082, allocations: 4 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.007213, allocations: 125.6 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.007795, allocations: 0.5772 MB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.007985, allocations: 84.25 kB / 0.6237 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.008036, allocations: 50.62 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.00805, allocations: 3.984 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.008207, allocations: 180.4 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.008209, allocations: 0 / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002964/0.008505, allocations: 222.8 kB / 0.6242 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.00857, allocations: 136.5 kB / 0.6243 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.008708, allocations: 187.7 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.008722, allocations: 33.64 kB / 0.6245 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.008787, allocations: 136.1 kB / 0.6246 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.008805, allocations: 23.8 kB / 0.6247 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.00885, allocations: 45.64 kB / 0.6247 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.008925, allocations: 322.8 kB / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.008997, allocations: 103.3 kB / 0.6251 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.009089, allocations: 166.8 kB / 0.6253 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.009236, allocations: 234.4 kB / 0.6255 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009239, allocations: 0 / 0.6255 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002268/0.009466, allocations: 300.2 kB / 0.6258 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.009497, allocations: 59.41 kB / 0.6258 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.009505, allocations: 8.25 kB / 0.6259 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.009517, allocations: 4 kB / 0.6259 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.009589, allocations: 35.92 kB / 0.6259 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.009597, allocations: 7.984 kB / 0.6259 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.009675, allocations: 23.84 kB / 0.6259 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.009685, allocations: 8 kB / 0.6259 GB, free: 4.988 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.009776, allocations: 175.3 kB / 0.6261 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.009788, allocations: 7.953 kB / 0.6261 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.009811, allocations: 21.39 kB / 0.6261 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.009814, allocations: 8 kB / 0.6261 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.009818, allocations: 0 / 0.6261 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.009821, allocations: 0 / 0.6261 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.009928, allocations: 180.6 kB / 0.6263 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00993, allocations: 4 kB / 0.6263 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.009971, allocations: 8 kB / 0.6263 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.009972, allocations: 0 / 0.6263 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.009983, allocations: 11.92 kB / 0.6263 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009985, allocations: 3.938 kB / 0.6263 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009986, allocations: 0 / 0.6263 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.01024, allocations: 282.1 kB / 0.6266 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01025, allocations: 15.92 kB / 0.6266 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.01027, allocations: 7.938 kB / 0.6266 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.01031, allocations: 11.94 kB / 0.6266 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01036, allocations: 11.98 kB / 0.6266 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.01037, allocations: 0 / 0.6266 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.01044, allocations: 140.8 kB / 0.6268 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01044, allocations: 0 / 0.6268 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001647/0.0106, allocations: 28 kB / 0.6268 GB, free: 4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.011, allocations: 0.8154 MB / 0.6276 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.01123, allocations: 303.7 kB / 0.6279 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01123, allocations: 0 / 0.6279 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.0113, allocations: 121.1 kB / 0.628 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.01146, allocations: 12.69 kB / 0.628 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.01298, allocations: 2.221 MB / 0.6302 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.01305, allocations: 110.6 kB / 0.6303 GB, free: 92 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.0131, allocations: 20.62 kB / 0.6303 GB, free: 72 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01315, allocations: 36.48 kB / 0.6303 GB, free: 36 kB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.01315, allocations: 4 kB / 0.6304 GB, free: 32 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.03013, allocations: 3.889 MB / 0.6341 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/6.763, allocations: 4.938 kB / 0.6342 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.399451951496303] Failed to read output from testmodel.py, exit status != 0: 6.844619977287948 6.85254412 6.845117457 Calling exit ...