Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.001642/0.001642, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.002085/0.002085, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002552/0.002552, allocations: 285.4 kB / 309.8 MB, free: 3.527 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.112/1.112, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004507/0.004507, allocations: 103.8 kB / 0.7347 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6141, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004722/0.6188, allocations: 3.273 MB / 0.831 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.6211, allocations: 1.462 MB / 0.8324 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.6213, allocations: 9.125 kB / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.6224, allocations: 340.4 kB / 0.8327 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.6228, allocations: 154.5 kB / 0.8329 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.6233, allocations: 156.1 kB / 0.833 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.6237, allocations: 334 kB / 0.8333 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.6241, allocations: 201.8 kB / 0.8335 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.6244, allocations: 149.3 kB / 0.8337 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.6246, allocations: 155.6 kB / 0.8338 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.6247, allocations: 25.28 kB / 0.8338 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.625, allocations: 173.8 kB / 0.834 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.6251, allocations: 91.38 kB / 0.8341 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.6252, allocations: 117.2 kB / 0.8342 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.6258, allocations: 369.4 kB / 0.8346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6258, allocations: 0 / 0.8346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6258, allocations: 0 / 0.8346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.6258, allocations: 0 / 0.8346 GB, free: 14.77 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009772/0.6267, allocations: 0.5583 MB / 0.8351 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6268, allocations: 10.03 kB / 0.8351 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.6268, allocations: 5.062 kB / 0.8351 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.6269, allocations: 58.19 kB / 0.8352 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.6275, allocations: 91.27 kB / 0.8353 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.6279, allocations: 261.9 kB / 0.8355 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6279, allocations: 13.41 kB / 0.8355 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.6279, allocations: 16.91 kB / 0.8355 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.6285, allocations: 325.3 kB / 0.8358 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6285, allocations: 0 / 0.8358 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.6285, allocations: 7.219 kB / 0.8358 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.6285, allocations: 14.94 kB / 0.8359 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.6289, allocations: 210.2 kB / 0.8361 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.6306, allocations: 1.504 MB / 0.8375 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.6311, allocations: 191.2 kB / 0.8377 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.6312, allocations: 45.5 kB / 0.8378 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.6312, allocations: 3.062 kB / 0.8378 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.6312, allocations: 39.17 kB / 0.8378 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.6312, allocations: 0 / 0.8378 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006151/0.6318, allocations: 264.1 kB / 0.8381 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6319, allocations: 51.97 kB / 0.8381 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.6321, allocations: 212.6 kB / 0.8383 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.6321, allocations: 25.7 kB / 0.8383 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.6322, allocations: 188.1 kB / 0.8385 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.6323, allocations: 28.44 kB / 0.8385 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.6323, allocations: 37.16 kB / 0.8386 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6325, allocations: 327.4 kB / 0.8389 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.6326, allocations: 43.28 kB / 0.8389 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.6327, allocations: 121.5 kB / 0.839 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.633, allocations: 164.1 kB / 0.8392 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.633, allocations: 0.9062 kB / 0.8392 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003816/0.6333, allocations: 218.8 kB / 0.8394 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6334, allocations: 6.25 kB / 0.8394 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6334, allocations: 1.438 kB / 0.8394 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.6335, allocations: 26.94 kB / 0.8394 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6336, allocations: 39.58 kB / 0.8395 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.6348, allocations: 1.423 MB / 0.8409 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.635, allocations: 23.98 kB / 0.8409 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.635, allocations: 11.38 kB / 0.8409 GB, free: 9.371 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.6352, allocations: 151.6 kB / 0.841 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.6352, allocations: 18.11 kB / 0.8411 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.6352, allocations: 18.73 kB / 0.8411 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6352, allocations: 0 / 0.8411 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6352, allocations: 3.609 kB / 0.8411 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6352, allocations: 3.984 kB / 0.8411 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.6359, allocations: 493.5 kB / 0.8416 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6359, allocations: 3.562 kB / 0.8416 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.6359, allocations: 10.81 kB / 0.8416 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.636, allocations: 25.22 kB / 0.8416 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.636, allocations: 3.938 kB / 0.8416 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.6371, allocations: 1.421 MB / 0.843 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6371, allocations: 8 kB / 0.843 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.6374, allocations: 232 kB / 0.8432 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.6375, allocations: 101.4 kB / 0.8433 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6375, allocations: 4.094 kB / 0.8433 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.6376, allocations: 11.17 kB / 0.8433 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.6377, allocations: 9.391 kB / 0.8433 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6377, allocations: 6.25 kB / 0.8433 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001371/0.6378, allocations: 149.8 kB / 0.8435 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6378, allocations: 0 / 0.8435 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003403/0.6381, allocations: 60.41 kB / 0.8435 GB, free: 6.977 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006269/0.6388, allocations: 0.7672 MB / 0.8443 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.6392, allocations: 227.7 kB / 0.8445 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6392, allocations: 0 / 0.8445 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.6395, allocations: 163.2 kB / 0.8447 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.6398, allocations: 34.95 kB / 0.8447 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.6423, allocations: 2.162 MB / 0.8468 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.6427, allocations: 0.7557 MB / 0.8475 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.6428, allocations: 32.03 kB / 0.8476 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.6429, allocations: 56.41 kB / 0.8476 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6429, allocations: 0 / 0.8476 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.6687, allocations: 4.135 MB / 0.8517 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.82, allocations: 4.062 kB / 0.8517 GB, free: 2.941 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.974501397984568] Failed to read output from testmodel.py, exit status != 0: 10.962335811986122 10.976986709 10.347996629 Calling exit ...