Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001074, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 15.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7719, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006476/0.7784, allocations: 4.754 MB / 0.9858 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006421/0.7849, allocations: 3.806 MB / 0.9895 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007946/0.7858, allocations: 15.88 kB / 0.9895 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.7863, allocations: 99.23 kB / 0.9896 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.7882, allocations: 0.5211 MB / 0.9901 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.7898, allocations: 411 kB / 0.9905 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.7916, allocations: 1.322 MB / 0.9918 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.7931, allocations: 0.6564 MB / 0.9924 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.7939, allocations: 394.5 kB / 0.9928 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009875/0.7949, allocations: 0.5099 MB / 0.9933 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.7951, allocations: 39.94 kB / 0.9934 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.7963, allocations: 491.3 kB / 0.9938 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.7968, allocations: 303.1 kB / 0.9941 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.7971, allocations: 161.3 kB / 0.9943 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.7986, allocations: 1.027 MB / 0.9953 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7986, allocations: 0 / 0.9953 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7986, allocations: 0 / 0.9953 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.7986, allocations: 0 / 0.9953 GB, free: 7.73 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002329/0.801, allocations: 1.024 MB / 0.9963 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.801, allocations: 8.031 kB / 0.9963 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002853/0.8013, allocations: 122.5 kB / 0.9964 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008612/0.81, allocations: 1.692 MB / 0.998 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.8113, allocations: 0.603 MB / 0.9986 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.8113, allocations: 45.28 kB / 0.9987 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.8116, allocations: 59.94 kB / 0.9987 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.8163, allocations: 1.913 MB / 1.001 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.8163, allocations: 4 kB / 1.001 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.8165, allocations: 27.97 kB / 1.001 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/0.8168, allocations: 153.4 kB / 1.001 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007127/0.824, allocations: 2.612 MB / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.8346, allocations: 6.661 MB / 1.01 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.8377, allocations: 1.266 MB / 1.011 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.8401, allocations: 0.8992 MB / 1.012 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.8425, allocations: 1.48 MB / 1.013 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.8425, allocations: 50.38 kB / 1.013 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.8425, allocations: 4 kB / 1.013 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.02527/0.8678, allocations: 8.235 MB / 1.021 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.8679, allocations: 94.05 kB / 1.022 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.8686, allocations: 0.5731 MB / 1.022 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.8688, allocations: 45.7 kB / 1.022 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.8691, allocations: 415 kB / 1.023 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.8695, allocations: 370.7 kB / 1.023 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8696, allocations: 24 kB / 1.023 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8698, allocations: 386.8 kB / 1.023 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.8725, allocations: 1.107 MB / 1.024 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.8753, allocations: 1.452 MB / 1.026 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.8781, allocations: 1.218 MB / 1.027 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.8781, allocations: 4 kB / 1.027 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009902/0.888, allocations: 3.882 MB / 1.031 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003136/0.8884, allocations: 401.4 kB / 1.031 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.8884, allocations: 11.95 kB / 1.031 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004723/0.8932, allocations: 1.392 MB / 1.033 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.8951, allocations: 459.2 kB / 1.033 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.9101, allocations: 11.22 MB / 1.044 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.9121, allocations: 311.6 kB / 1.044 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.9123, allocations: 59.97 kB / 1.044 GB, free: 3.902 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.9123, allocations: 4 kB / 1.044 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009084/0.9214, allocations: 3.573 MB / 1.048 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.9215, allocations: 12.11 kB / 1.048 GB, free: 304 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.9251, allocations: 1.108 MB / 1.049 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.927, allocations: 475.2 kB / 1.049 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.9398, allocations: 10.34 MB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.9418, allocations: 307.6 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.942, allocations: 63.97 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006648/0.9427, allocations: 388.6 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.9429, allocations: 79.06 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.953, allocations: 3.758 MB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.9531, allocations: 12 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.9531, allocations: 4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.9531, allocations: 7.969 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9659, allocations: 5.493 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.9659, allocations: 7.984 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.9675, allocations: 364.1 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004367/0.9719, allocations: 1.244 MB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.9721, allocations: 39.97 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.9868, allocations: 10.73 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.9868, allocations: 11.97 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009361/0.9962, allocations: 3.669 MB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.9969, allocations: 343.8 kB / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.9971, allocations: 27.98 kB / 1.085 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.9989, allocations: 315.5 kB / 1.086 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.9992, allocations: 104.2 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.9993, allocations: 43.98 kB / 1.086 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005141/0.9998, allocations: 402.8 kB / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9998, allocations: 0 / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002229/1.002, allocations: 0.5938 MB / 1.087 GB, free: 7.023 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00945/1.012, allocations: 4.257 MB / 1.091 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.026, allocations: 5.705 MB / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/1.026, allocations: 0.5 kB / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005296/1.031, allocations: 2.122 MB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.033, allocations: 159.7 kB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/1.059, allocations: 10.57 MB / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/1.06, allocations: 1.11 MB / 1.11 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00217/1.062, allocations: 0.5383 MB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/1.062, allocations: 295.3 kB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of SimCode: time 1.032e-06/1.062, allocations: 0 / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08598/1.148, allocations: 33.4 MB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003933/1.149, allocations: 243.6 kB / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.871, allocations: 4 kB / 1.144 GB, free: 12.29 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat