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.0008791/0.0008791, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0007878/0.0007878, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8941/0.8941, allocations: 177.1 MB / 202.8 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.001431/0.001431, allocations: 237.5 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6668/0.6668, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6462 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.105e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.2267/0.2267, allocations: 3.169 MB / 0.6494 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2282, allocations: 1.368 MB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2284, allocations: 7.688 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.229, allocations: 328.8 kB / 0.651 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2292, allocations: 157.3 kB / 0.6512 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.2295, allocations: 167.9 kB / 0.6513 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.2298, allocations: 345.6 kB / 0.6516 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.2301, allocations: 196.6 kB / 0.6518 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2303, allocations: 203.5 kB / 0.652 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2305, allocations: 133.4 kB / 0.6522 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2305, allocations: 20.28 kB / 0.6522 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2307, allocations: 155.7 kB / 0.6523 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.2308, allocations: 93.27 kB / 0.6524 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.2309, allocations: 83.45 kB / 0.6525 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.2312, allocations: 372.1 kB / 0.6528 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2312, allocations: 2.781 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2312, allocations: 0 / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.2312, allocations: 1.125 kB / 0.6529 GB, free: 54.45 MB / 0.5573 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.0006024/0.2318, allocations: 492.9 kB / 0.6533 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2319, allocations: 10.44 kB / 0.6533 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.2319, allocations: 57.22 kB / 0.6534 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.2323, allocations: 84.72 kB / 0.6535 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2325, allocations: 209.4 kB / 0.6537 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2325, allocations: 16.56 kB / 0.6537 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2325, allocations: 17.5 kB / 0.6537 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.2329, allocations: 392.8 kB / 0.6541 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2329, allocations: 4.781 kB / 0.6541 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2329, allocations: 12.91 kB / 0.6541 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.2329, allocations: 15.47 kB / 0.6541 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2331, allocations: 213.2 kB / 0.6543 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.2339, allocations: 1.055 MB / 0.6553 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2342, allocations: 131.5 kB / 0.6555 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.2343, allocations: 37.28 kB / 0.6555 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2343, allocations: 2.531 kB / 0.6555 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2343, allocations: 36.53 kB / 0.6555 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.033e-06/0.2343, allocations: 0.5625 kB / 0.6555 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003425/0.2346, allocations: 179.4 kB / 0.6557 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.2346, allocations: 57.36 kB / 0.6558 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2348, allocations: 214.4 kB / 0.656 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.2348, allocations: 25.7 kB / 0.656 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.2348, allocations: 181 kB / 0.6562 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.2348, allocations: 31.89 kB / 0.6562 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.2349, allocations: 37.08 kB / 0.6562 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.313e-05/0.2349, allocations: 332 kB / 0.6565 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.235, allocations: 43.5 kB / 0.6566 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.235, allocations: 112.3 kB / 0.6567 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2352, allocations: 173.4 kB / 0.6569 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2352, allocations: 2.25 kB / 0.6569 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002141/0.2354, allocations: 214.7 kB / 0.6571 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2354, allocations: 7.219 kB / 0.6571 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2354, allocations: 1.75 kB / 0.6571 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.2355, allocations: 28.92 kB / 0.6571 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.2356, allocations: 32.91 kB / 0.6571 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005378/0.2361, allocations: 1.314 MB / 0.6584 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.2362, allocations: 24.39 kB / 0.6584 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2362, allocations: 7.281 kB / 0.6584 GB, free: 50.01 MB / 0.5573 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 8.356e-05/0.2363, allocations: 153.7 kB / 0.6586 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.2363, allocations: 21.2 kB / 0.6586 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.2364, allocations: 19.12 kB / 0.6586 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2364, allocations: 1.75 kB / 0.6586 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2364, allocations: 0 / 0.6586 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2364, allocations: 2.594 kB / 0.6586 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.2367, allocations: 444.8 kB / 0.6591 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2367, allocations: 0 / 0.6591 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.2367, allocations: 15.14 kB / 0.6591 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.713e-05/0.2368, allocations: 32.2 kB / 0.6591 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.2368, allocations: 7.938 kB / 0.6591 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003911/0.2372, allocations: 1.323 MB / 0.6604 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2372, allocations: 0 / 0.6604 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2373, allocations: 235.8 kB / 0.6606 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.2374, allocations: 25.94 kB / 0.6607 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2374, allocations: 5.594 kB / 0.6607 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.2375, allocations: 5.188 kB / 0.6607 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.2375, allocations: 8.266 kB / 0.6607 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2375, allocations: 3 kB / 0.6607 GB, free: 48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.2376, allocations: 150.1 kB / 0.6608 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2376, allocations: 0 / 0.6608 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002203/0.2378, allocations: 58.7 kB / 0.6609 GB, free: 47.88 MB / 0.5573 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.0002512/0.238, allocations: 0.7773 MB / 0.6616 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.2383, allocations: 229.6 kB / 0.6619 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2383, allocations: 0 / 0.6619 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.2384, allocations: 167.2 kB / 0.662 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2386, allocations: 38.95 kB / 0.6621 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.24, allocations: 2.147 MB / 0.6641 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.2401, allocations: 143.9 kB / 0.6643 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.2401, allocations: 29.58 kB / 0.6643 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.2402, allocations: 58.67 kB / 0.6644 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2402, allocations: 0 / 0.6644 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2613, allocations: 4.856 MB / 0.6691 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.159, allocations: 4.609 kB / 0.6691 GB, free: 44.02 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.704909414984286] Failed to read output from testmodel.py, exit status != 0: 7.243480603210628 7.256406169 7.02233459 Calling exit ...